aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/mandel-material.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials/mandel-material.js')
-rw-r--r--js/lib/rdge/materials/mandel-material.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/lib/rdge/materials/mandel-material.js b/js/lib/rdge/materials/mandel-material.js
index 41b7793e..6cf3ce7e 100644
--- a/js/lib/rdge/materials/mandel-material.js
+++ b/js/lib/rdge/materials/mandel-material.js
@@ -93,16 +93,16 @@ var MandelMaterial = function MandelMaterial() {
93 93
94/////////////////////////////////////////////////////////////////////////////////////// 94///////////////////////////////////////////////////////////////////////////////////////
95// RDGE shader 95// RDGE shader
96 96
97// shader spec (can also be loaded from a .JSON file, or constructed at runtime) 97// shader spec (can also be loaded from a .JSON file, or constructed at runtime)
98var MandelMaterialDef = 98var MandelMaterialDef =
99{'shaders': 99{'shaders':
100 { 100 {
101 'defaultVShader':"assets/shaders/Basic.vert.glsl", 101 'defaultVShader':"assets/shaders/Basic.vert.glsl",
102 'defaultFShader':"assets/shaders/Mandel.frag.glsl" 102 'defaultFShader':"assets/shaders/Mandel.frag.glsl"
103 }, 103 },
104 'techniques': 104 'techniques':
105 { 105 {
106 'default': 106 'default':
107 [ 107 [
108 { 108 {
@@ -116,7 +116,7 @@ var MandelMaterialDef =
116 'texcoord' : { 'type' : 'vec2' } 116 'texcoord' : { 'type' : 'vec2' }
117 }, 117 },
118 // parameters 118 // parameters
119 'params' : 119 'params' :
120 { 120 {
121 'u_time' : { 'type' : 'float' }, 121 'u_time' : { 'type' : 'float' },
122 'u_speed' : { 'type' : 'float' }, 122 'u_speed' : { 'type' : 'float' },
@@ -124,7 +124,7 @@ var MandelMaterialDef =
124 }, 124 },
125 125
126 // render states 126 // render states
127 'states' : 127 'states' :
128 { 128 {
129 'depthEnable' : true, 129 'depthEnable' : true,
130 'offset':[1.0, 0.1] 130 'offset':[1.0, 0.1]