summaryrefslogtreecommitdiff
path: root/shader-combo.html
diff options
context:
space:
mode:
authorjules <jules@okfoc.us>2014-02-02 01:17:24 -0500
committerjules <jules@okfoc.us>2014-02-02 01:17:24 -0500
commit4e05e159ec5a9c32366884fecbb7368a8b6f9836 (patch)
tree28f8835b593dab60018df0b7f980425059249fbe /shader-combo.html
parent5c6425a39bb3603dafa2b609c5930d9afe9257d8 (diff)
grunt
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>