aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/plasma-material.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials/plasma-material.js')
-rw-r--r--js/lib/rdge/materials/plasma-material.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/lib/rdge/materials/plasma-material.js b/js/lib/rdge/materials/plasma-material.js
index 8e51a9b0..cb8c881f 100644
--- a/js/lib/rdge/materials/plasma-material.js
+++ b/js/lib/rdge/materials/plasma-material.js
@@ -108,16 +108,16 @@ var PlasmaMaterial = function PlasmaMaterial() {
108 108
109/////////////////////////////////////////////////////////////////////////////////////// 109///////////////////////////////////////////////////////////////////////////////////////
110// RDGE shader 110// RDGE shader
111 111
112// shader spec (can also be loaded from a .JSON file, or constructed at runtime) 112// shader spec (can also be loaded from a .JSON file, or constructed at runtime)
113var plasmaShaderDef = 113var plasmaShaderDef =
114{'shaders': 114{'shaders':
115 { 115 {
116 'defaultVShader':"assets/shaders/plasma.vert.glsl", 116 'defaultVShader':"assets/shaders/plasma.vert.glsl",
117 'defaultFShader':"assets/shaders/plasma.frag.glsl" 117 'defaultFShader':"assets/shaders/plasma.frag.glsl"
118 }, 118 },
119 'techniques': 119 'techniques':
120 { 120 {
121 'default': 121 'default':
122 [ 122 [
123 { 123 {
@@ -131,7 +131,7 @@ var plasmaShaderDef =
131 'texcoord' : { 'type' : 'vec2' } 131 'texcoord' : { 'type' : 'vec2' }
132 }, 132 },
133 // parameters 133 // parameters
134 'params' : 134 'params' :
135 { 135 {
136 'u_time' : { 'type' : 'float' }, 136 'u_time' : { 'type' : 'float' },
137 'u_speed': { 'type' : 'float' }, 137 'u_speed': { 'type' : 'float' },
@@ -141,7 +141,7 @@ var plasmaShaderDef =
141 }, 141 },
142 142
143 // render states 143 // render states
144 'states' : 144 'states' :
145 { 145 {
146 'depthEnable' : true, 146 'depthEnable' : true,
147 'offset':[1.0, 0.1] 147 'offset':[1.0, 0.1]