aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/fly-material.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/rdge/materials/fly-material.js')
-rw-r--r--js/lib/rdge/materials/fly-material.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/lib/rdge/materials/fly-material.js b/js/lib/rdge/materials/fly-material.js
index d53532d9..13291e25 100644
--- a/js/lib/rdge/materials/fly-material.js
+++ b/js/lib/rdge/materials/fly-material.js
@@ -97,17 +97,17 @@ var FlyMaterial = function FlyMaterial() {
97 97
98/////////////////////////////////////////////////////////////////////////////////////// 98///////////////////////////////////////////////////////////////////////////////////////
99// RDGE shader 99// RDGE shader
100 100
101// shader spec (can also be loaded from a .JSON file, or constructed at runtime) 101// shader spec (can also be loaded from a .JSON file, or constructed at runtime)
102var flyMaterialDef = 102var flyMaterialDef =
103{ 103{
104 'shaders': 104 'shaders':
105 { 105 {
106 'defaultVShader':"assets/shaders/Basic.vert.glsl", 106 'defaultVShader':"assets/shaders/Basic.vert.glsl",
107 'defaultFShader':"assets/shaders/Fly.frag.glsl" 107 'defaultFShader':"assets/shaders/Fly.frag.glsl"
108 }, 108 },
109 'techniques': 109 'techniques':
110 { 110 {
111 'default': 111 'default':
112 [ 112 [
113 { 113 {
@@ -121,7 +121,7 @@ var flyMaterialDef =
121 'texcoord' : { 'type' : 'vec2' } 121 'texcoord' : { 'type' : 'vec2' }
122 }, 122 },
123 // parameters 123 // parameters
124 'params' : 124 'params' :
125 { 125 {
126 'u_tex0': { 'type' : 'tex2d' }, 126 'u_tex0': { 'type' : 'tex2d' },
127 'u_time' : { 'type' : 'float' }, 127 'u_time' : { 'type' : 'float' },
@@ -130,7 +130,7 @@ var flyMaterialDef =
130 }, 130 },
131 131
132 // render states 132 // render states
133 'states' : 133 'states' :
134 { 134 {
135 'depthEnable' : true, 135 'depthEnable' : true,
136 'offset':[1.0, 0.1] 136 'offset':[1.0, 0.1]