From c1a6cacf364d79cbf23b41e7089a1a6d39afea85 Mon Sep 17 00:00:00 2001 From: hwc487 Date: Tue, 10 Apr 2012 10:12:49 -0700 Subject: Cloud material --- js/models/materials-model.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/models') 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 var RadialGradientMaterial = require("js/lib/rdge/materials/radial-gradient-material").RadialGradientMaterial; var BumpMetalMaterial = require("js/lib/rdge/materials/bump-metal-material").BumpMetalMaterial; var UberMaterial = require("js/lib/rdge/materials/uber-material").UberMaterial; +var CloudMaterial = require("js/lib/rdge/materials/cloud-material").CloudMaterial; var RadialBlurMaterial = require("js/lib/rdge/materials/radial-blur-material").RadialBlurMaterial; var RaidersMaterial = require("js/lib/rdge/materials/radial-blur-material").RaidersMaterial; var PlasmaMaterial = require("js/lib/rdge/materials/plasma-material").PlasmaMaterial; @@ -52,6 +53,7 @@ exports.MaterialsModel = Montage.create(Component, { this.addMaterial(new RadialGradientMaterial()); this.addMaterial(new BumpMetalMaterial()); this.addMaterial(new UberMaterial()); + this.addMaterial(new CloudMaterial()); this.addMaterial(new RadialBlurMaterial()); this.addMaterial(new RaidersMaterial()); this.addMaterial(new PlasmaMaterial()); @@ -232,6 +234,7 @@ exports.MaterialsModel = Montage.create(Component, { case "radialGradient": mat = new RadialGradientMaterial(); break; case "bumpMetal": mat = new BumpMetalMaterial(); break; case "uber": mat = new UberMaterial(); break; + case "cloud": mat = new CloudMaterial(); break; case "taper": mat = new TaperMaterial(); break; case "twistVert": mat = new TwistVertMaterial(); break; -- cgit v1.2.3