diff options
Diffstat (limited to 'js/lib/rdge/materials/water-material.js')
-rw-r--r-- | js/lib/rdge/materials/water-material.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/js/lib/rdge/materials/water-material.js b/js/lib/rdge/materials/water-material.js index c7e7313c..9997244c 100644 --- a/js/lib/rdge/materials/water-material.js +++ b/js/lib/rdge/materials/water-material.js | |||
@@ -165,16 +165,16 @@ var waterMaterialDef = | |||
165 | } | 165 | } |
166 | }; | 166 | }; |
167 | 167 | ||
168 | var ParisMaterial = function ParisMaterial() | 168 | var BlueSkyMaterial = function BlueSkyMaterial() |
169 | { | 169 | { |
170 | // initialize the inherited members | 170 | // initialize the inherited members |
171 | this.inheritedFrom = WaterMaterial; | 171 | this.inheritedFrom = WaterMaterial; |
172 | this.inheritedFrom(); | 172 | this.inheritedFrom(); |
173 | 173 | ||
174 | this._name = "Paris"; | 174 | this._name = "Blue Sky"; |
175 | this._shaderName = "paris"; | 175 | this._shaderName = "blueSky"; |
176 | 176 | ||
177 | this._defaultTexMap = 'assets/images/paris.png'; | 177 | this._defaultTexMap = 'assets/images/bluesky.png'; |
178 | this._propValues[this._propNames[0]] = this._defaultTexMap.slice(0); | 178 | this._propValues[this._propNames[0]] = this._defaultTexMap.slice(0); |
179 | 179 | ||
180 | //this._diffuseColor = [0.5, 0.5, 0.5, 0.5]; | 180 | //this._diffuseColor = [0.5, 0.5, 0.5, 0.5]; |
@@ -191,7 +191,7 @@ var ParisMaterial = function ParisMaterial() | |||
191 | this._shader.init(); | 191 | this._shader.init(); |
192 | 192 | ||
193 | // set up the material node | 193 | // set up the material node |
194 | this._materialNode = RDGE.createMaterialNode("parisMaterial" + "_" + world.generateUniqueNodeID()); | 194 | this._materialNode = RDGE.createMaterialNode("blueSkyMaterial" + "_" + world.generateUniqueNodeID()); |
195 | this._materialNode.setShader(this._shader); | 195 | this._materialNode.setShader(this._shader); |
196 | 196 | ||
197 | this._time = 0; | 197 | this._time = 0; |
@@ -206,9 +206,9 @@ var ParisMaterial = function ParisMaterial() | |||
206 | } | 206 | } |
207 | 207 | ||
208 | 208 | ||
209 | ParisMaterial.prototype = new PulseMaterial(); | 209 | BlueSkyMaterial.prototype = new PulseMaterial(); |
210 | if (typeof exports === "object") { | 210 | if (typeof exports === "object") { |
211 | exports.ParisMaterial = ParisMaterial; | 211 | exports.BlueSkyMaterial = BlueSkyMaterial; |
212 | } | 212 | } |
213 | 213 | ||
214 | 214 | ||