diff options
author | hwc487 | 2012-04-11 17:11:43 -0700 |
---|---|---|
committer | hwc487 | 2012-04-11 17:11:43 -0700 |
commit | b5aa082842f798d1eec582428468a322bd5a017f (patch) | |
tree | f5cee205faef62cd8cb253ccd4d4425aef3e770e /js/lib/rdge/materials | |
parent | 1b7592f81c9b47c2b42d78efe385cd979d54d3ca (diff) | |
download | ninja-b5aa082842f798d1eec582428468a322bd5a017f.tar.gz |
Cloud material
Diffstat (limited to 'js/lib/rdge/materials')
-rw-r--r-- | js/lib/rdge/materials/cloud-material.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/cloud-material.js b/js/lib/rdge/materials/cloud-material.js index c1dabce8..f253718a 100644 --- a/js/lib/rdge/materials/cloud-material.js +++ b/js/lib/rdge/materials/cloud-material.js | |||
@@ -188,6 +188,8 @@ var CloudMaterial = function CloudMaterial() { | |||
188 | var material = this._materialNode; | 188 | var material = this._materialNode; |
189 | if (material) | 189 | if (material) |
190 | { | 190 | { |
191 | if (this._srcWorld) this._srcWorld.draw(); | ||
192 | |||
191 | var technique = material.shaderProgram['default']; | 193 | var technique = material.shaderProgram['default']; |
192 | var renderer = g_Engine.getContext().renderer; | 194 | var renderer = g_Engine.getContext().renderer; |
193 | if (renderer && technique) { | 195 | if (renderer && technique) { |