aboutsummaryrefslogtreecommitdiff
path: root/js/models
diff options
context:
space:
mode:
authorhwc4872012-04-10 10:12:49 -0700
committerhwc4872012-04-10 10:12:49 -0700
commitc1a6cacf364d79cbf23b41e7089a1a6d39afea85 (patch)
treec900a4f6063da1be1c7febb66ce8021def739ea1 /js/models
parent5b878fdfaa696c1a01afa191c1d65c0ccb006b65 (diff)
downloadninja-c1a6cacf364d79cbf23b41e7089a1a6d39afea85.tar.gz
Cloud material
Diffstat (limited to 'js/models')
-rwxr-xr-xjs/models/materials-model.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/models/materials-model.js b/js/models/materials-model.js
index a06f692b..178be3f2 100755
--- a/js/models/materials-model.js
+++ b/js/models/materials-model.js
@@ -16,6 +16,7 @@ var LinearGradientMaterial = require("js/lib/rdge/materials/linear-gradient-mate
16var RadialGradientMaterial = require("js/lib/rdge/materials/radial-gradient-material").RadialGradientMaterial; 16var RadialGradientMaterial = require("js/lib/rdge/materials/radial-gradient-material").RadialGradientMaterial;
17var BumpMetalMaterial = require("js/lib/rdge/materials/bump-metal-material").BumpMetalMaterial; 17var BumpMetalMaterial = require("js/lib/rdge/materials/bump-metal-material").BumpMetalMaterial;
18var UberMaterial = require("js/lib/rdge/materials/uber-material").UberMaterial; 18var UberMaterial = require("js/lib/rdge/materials/uber-material").UberMaterial;
19var CloudMaterial = require("js/lib/rdge/materials/cloud-material").CloudMaterial;
19var RadialBlurMaterial = require("js/lib/rdge/materials/radial-blur-material").RadialBlurMaterial; 20var RadialBlurMaterial = require("js/lib/rdge/materials/radial-blur-material").RadialBlurMaterial;
20var RaidersMaterial = require("js/lib/rdge/materials/radial-blur-material").RaidersMaterial; 21var RaidersMaterial = require("js/lib/rdge/materials/radial-blur-material").RaidersMaterial;
21var PlasmaMaterial = require("js/lib/rdge/materials/plasma-material").PlasmaMaterial; 22var PlasmaMaterial = require("js/lib/rdge/materials/plasma-material").PlasmaMaterial;
@@ -52,6 +53,7 @@ exports.MaterialsModel = Montage.create(Component, {
52 this.addMaterial(new RadialGradientMaterial()); 53 this.addMaterial(new RadialGradientMaterial());
53 this.addMaterial(new BumpMetalMaterial()); 54 this.addMaterial(new BumpMetalMaterial());
54 this.addMaterial(new UberMaterial()); 55 this.addMaterial(new UberMaterial());
56 this.addMaterial(new CloudMaterial());
55 this.addMaterial(new RadialBlurMaterial()); 57 this.addMaterial(new RadialBlurMaterial());
56 this.addMaterial(new RaidersMaterial()); 58 this.addMaterial(new RaidersMaterial());
57 this.addMaterial(new PlasmaMaterial()); 59 this.addMaterial(new PlasmaMaterial());
@@ -232,6 +234,7 @@ exports.MaterialsModel = Montage.create(Component, {
232 case "radialGradient": mat = new RadialGradientMaterial(); break; 234 case "radialGradient": mat = new RadialGradientMaterial(); break;
233 case "bumpMetal": mat = new BumpMetalMaterial(); break; 235 case "bumpMetal": mat = new BumpMetalMaterial(); break;
234 case "uber": mat = new UberMaterial(); break; 236 case "uber": mat = new UberMaterial(); break;
237 case "cloud": mat = new CloudMaterial(); break;
235 238
236 case "taper": mat = new TaperMaterial(); break; 239 case "taper": mat = new TaperMaterial(); break;
237 case "twistVert": mat = new TwistVertMaterial(); break; 240 case "twistVert": mat = new TwistVertMaterial(); break;