aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/keleidoscope-material.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials/keleidoscope-material.js')
-rw-r--r--js/lib/rdge/materials/keleidoscope-material.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/lib/rdge/materials/keleidoscope-material.js b/js/lib/rdge/materials/keleidoscope-material.js
index 90340e00..8f235948 100644
--- a/js/lib/rdge/materials/keleidoscope-material.js
+++ b/js/lib/rdge/materials/keleidoscope-material.js
@@ -100,16 +100,16 @@ var KeleidoscopeMaterial = function KeleidoscopeMaterial() {
100 100
101/////////////////////////////////////////////////////////////////////////////////////// 101///////////////////////////////////////////////////////////////////////////////////////
102// RDGE shader 102// RDGE shader
103 103
104// shader spec (can also be loaded from a .JSON file, or constructed at runtime) 104// shader spec (can also be loaded from a .JSON file, or constructed at runtime)
105var keleidoscopeMaterialDef = 105var keleidoscopeMaterialDef =
106{'shaders': 106{'shaders':
107 { 107 {
108 'defaultVShader':"assets/shaders/Basic.vert.glsl", 108 'defaultVShader':"assets/shaders/Basic.vert.glsl",
109 'defaultFShader':"assets/shaders/Keleidoscope.frag.glsl" 109 'defaultFShader':"assets/shaders/Keleidoscope.frag.glsl"
110 }, 110 },
111 'techniques': 111 'techniques':
112 { 112 {
113 'default': 113 'default':
114 [ 114 [
115 { 115 {
@@ -123,7 +123,7 @@ var keleidoscopeMaterialDef =
123 'texcoord' : { 'type' : 'vec2' } 123 'texcoord' : { 'type' : 'vec2' }
124 }, 124 },
125 // parameters 125 // parameters
126 'params' : 126 'params' :
127 { 127 {
128 'u_tex0': { 'type' : 'tex2d' }, 128 'u_tex0': { 'type' : 'tex2d' },
129 'u_speed' : { 'type' : 'float' }, 129 'u_speed' : { 'type' : 'float' },
@@ -132,7 +132,7 @@ var keleidoscopeMaterialDef =
132 }, 132 },
133 133
134 // render states 134 // render states
135 'states' : 135 'states' :
136 { 136 {
137 'depthEnable' : true, 137 'depthEnable' : true,
138 'offset':[1.0, 0.1] 138 'offset':[1.0, 0.1]