summaryrefslogtreecommitdiff
path: root/shader-combo.html
diff options
context:
space:
mode:
Diffstat (limited to 'shader-combo.html')
-rw-r--r--shader-combo.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/shader-combo.html b/shader-combo.html
index 5d9c869..312f52f 100644
--- a/shader-combo.html
+++ b/shader-combo.html
@@ -276,5 +276,24 @@ function init(){
}
</script>
+<script type="text/javascript-shader" data-name="basic">
+// The most basic shaders determine pixel color and nothing else.
+// This shader makes the image red.
+
+r = r
+g = 0
+b = 0
+a = 255
+</script>
+<script type="text/javascript-shader" data-name="basic">
+// The most basic shaders determine pixel color and nothing else.
+// This shader makes the image red.
+
+r = r
+g = 0
+b = 0
+a = 255
+</script>
+
</body>
</html>