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