diff options
author | hwc487 | 2012-07-11 10:20:22 -0700 |
---|---|---|
committer | hwc487 | 2012-07-11 10:20:22 -0700 |
commit | 325cf1dcbd7fc1e1ec6a9ac4829954f7e0ae2afb (patch) | |
tree | b1f12bce35d5281a3a3d47e3cdcbd75d4c498810 /js/models/materials-model.js | |
parent | 67dd4bdd47a0324507bed232d22068aa198549fe (diff) | |
parent | 688e22dc367f37d4b8734a37daa3b823ea450295 (diff) | |
download | ninja-325cf1dcbd7fc1e1ec6a9ac4829954f7e0ae2afb.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja into GridFixes
Conflicts:
assets/shaders/radialBlur.frag.glsl
Diffstat (limited to 'js/models/materials-model.js')
-rwxr-xr-x | js/models/materials-model.js | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/js/models/materials-model.js b/js/models/materials-model.js index 833eb08f..cc3c3fa1 100755 --- a/js/models/materials-model.js +++ b/js/models/materials-model.js | |||
@@ -42,26 +42,26 @@ var RadialGradientMaterial = require("js/lib/rdge/materials/radial-gradient-mate | |||
42 | var BumpMetalMaterial = require("js/lib/rdge/materials/bump-metal-material").BumpMetalMaterial; | 42 | var BumpMetalMaterial = require("js/lib/rdge/materials/bump-metal-material").BumpMetalMaterial; |
43 | var UberMaterial = require("js/lib/rdge/materials/uber-material").UberMaterial; | 43 | var UberMaterial = require("js/lib/rdge/materials/uber-material").UberMaterial; |
44 | //var CloudMaterial = require("js/lib/rdge/materials/cloud-material").CloudMaterial; | 44 | //var CloudMaterial = require("js/lib/rdge/materials/cloud-material").CloudMaterial; |
45 | var RadialBlurMaterial = require("js/lib/rdge/materials/radial-blur-material").RadialBlurMaterial; | 45 | //var RadialBlurMaterial = require("js/lib/rdge/materials/radial-blur-material").RadialBlurMaterial; |
46 | var RaidersMaterial = require("js/lib/rdge/materials/radial-blur-material").RaidersMaterial; | 46 | //var RaidersMaterial = require("js/lib/rdge/materials/radial-blur-material").RaidersMaterial; |
47 | var PlasmaMaterial = require("js/lib/rdge/materials/plasma-material").PlasmaMaterial; | 47 | var PlasmaMaterial = require("js/lib/rdge/materials/plasma-material").PlasmaMaterial; |
48 | var PulseMaterial = require("js/lib/rdge/materials/pulse-material").PulseMaterial; | 48 | var PulseMaterial = require("js/lib/rdge/materials/pulse-material").PulseMaterial; |
49 | var TunnelMaterial = require("js/lib/rdge/materials/tunnel-material").TunnelMaterial; | 49 | //var TunnelMaterial = require("js/lib/rdge/materials/tunnel-material").TunnelMaterial; |
50 | var ReliefTunnelMaterial = require("js/lib/rdge/materials/relief-tunnel-material").ReliefTunnelMaterial; | 50 | //var ReliefTunnelMaterial = require("js/lib/rdge/materials/relief-tunnel-material").ReliefTunnelMaterial; |
51 | var FlagMaterial = require("js/lib/rdge/materials/flag-material").FlagMaterial; | 51 | var FlagMaterial = require("js/lib/rdge/materials/flag-material").FlagMaterial; |
52 | var SquareTunnelMaterial = require("js/lib/rdge/materials/square-tunnel-material").SquareTunnelMaterial; | 52 | //var SquareTunnelMaterial = require("js/lib/rdge/materials/square-tunnel-material").SquareTunnelMaterial; |
53 | var FlyMaterial = require("js/lib/rdge/materials/fly-material").FlyMaterial; | 53 | //var FlyMaterial = require("js/lib/rdge/materials/fly-material").FlyMaterial; |
54 | var WaterMaterial = require("js/lib/rdge/materials/water-material").WaterMaterial; | 54 | var WaterMaterial = require("js/lib/rdge/materials/water-material").WaterMaterial; |
55 | var ParisMaterial = require("js/lib/rdge/materials/water-material").ParisMaterial; | 55 | var ParisMaterial = require("js/lib/rdge/materials/water-material").ParisMaterial; |
56 | var ZInvertMaterial = require("js/lib/rdge/materials/z-invert-material").ZInvertMaterial; | 56 | //var ZInvertMaterial = require("js/lib/rdge/materials/z-invert-material").ZInvertMaterial; |
57 | var DeformMaterial = require("js/lib/rdge/materials/deform-material").DeformMaterial; | 57 | //var DeformMaterial = require("js/lib/rdge/materials/deform-material").DeformMaterial; |
58 | var StarMaterial = require("js/lib/rdge/materials/star-material").StarMaterial; | 58 | //var StarMaterial = require("js/lib/rdge/materials/star-material").StarMaterial; |
59 | var TwistMaterial = require("js/lib/rdge/materials/twist-material").TwistMaterial; | 59 | //var TwistMaterial = require("js/lib/rdge/materials/twist-material").TwistMaterial; |
60 | var TwistVertMaterial = require("js/lib/rdge/materials/twist-vert-material").TwistVertMaterial; | 60 | var TwistVertMaterial = require("js/lib/rdge/materials/twist-vert-material").TwistVertMaterial; |
61 | var TaperMaterial = require("js/lib/rdge/materials/taper-material").TaperMaterial; | 61 | var TaperMaterial = require("js/lib/rdge/materials/taper-material").TaperMaterial; |
62 | var JuliaMaterial = require("js/lib/rdge/materials/julia-material").JuliaMaterial; | 62 | //var JuliaMaterial = require("js/lib/rdge/materials/julia-material").JuliaMaterial; |
63 | var KeleidoscopeMaterial = require("js/lib/rdge/materials/keleidoscope-material").KeleidoscopeMaterial; | 63 | //var KeleidoscopeMaterial = require("js/lib/rdge/materials/keleidoscope-material").KeleidoscopeMaterial; |
64 | var MandelMaterial = require("js/lib/rdge/materials/mandel-material").MandelMaterial; | 64 | //var MandelMaterial = require("js/lib/rdge/materials/mandel-material").MandelMaterial; |
65 | 65 | ||
66 | 66 | ||
67 | exports.MaterialsModel = Montage.create(Component, { | 67 | exports.MaterialsModel = Montage.create(Component, { |
@@ -76,29 +76,29 @@ exports.MaterialsModel = Montage.create(Component, { | |||
76 | this.addMaterial(new FlatMaterial()); | 76 | this.addMaterial(new FlatMaterial()); |
77 | this.addMaterial(new BumpMetalMaterial()); | 77 | this.addMaterial(new BumpMetalMaterial()); |
78 | //this.addMaterial(new CloudMaterial()); | 78 | //this.addMaterial(new CloudMaterial()); |
79 | this.addMaterial(new DeformMaterial()); | 79 | //this.addMaterial(new DeformMaterial()); |
80 | this.addMaterial(new FlagMaterial()); | 80 | this.addMaterial(new FlagMaterial()); |
81 | this.addMaterial(new FlyMaterial()); | 81 | //this.addMaterial(new FlyMaterial()); |
82 | this.addMaterial(new JuliaMaterial()); | 82 | //this.addMaterial(new JuliaMaterial()); |
83 | this.addMaterial(new KeleidoscopeMaterial()); | 83 | //this.addMaterial(new KeleidoscopeMaterial()); |
84 | this.addMaterial(new LinearGradientMaterial()); | 84 | this.addMaterial(new LinearGradientMaterial()); |
85 | this.addMaterial(new MandelMaterial()); | 85 | //this.addMaterial(new MandelMaterial()); |
86 | this.addMaterial(new ParisMaterial()); | 86 | this.addMaterial(new ParisMaterial()); |
87 | this.addMaterial(new PlasmaMaterial()); | 87 | this.addMaterial(new PlasmaMaterial()); |
88 | this.addMaterial(new PulseMaterial()); | 88 | this.addMaterial(new PulseMaterial()); |
89 | this.addMaterial(new RadialBlurMaterial()); | 89 | //this.addMaterial(new RadialBlurMaterial()); |
90 | this.addMaterial(new RadialGradientMaterial()); | 90 | this.addMaterial(new RadialGradientMaterial()); |
91 | this.addMaterial(new RaidersMaterial()); | 91 | //this.addMaterial(new RaidersMaterial()); |
92 | this.addMaterial(new ReliefTunnelMaterial()); | 92 | //this.addMaterial(new ReliefTunnelMaterial()); |
93 | this.addMaterial(new SquareTunnelMaterial()); | 93 | //this.addMaterial(new SquareTunnelMaterial()); |
94 | this.addMaterial(new StarMaterial()); | 94 | //this.addMaterial(new StarMaterial()); |
95 | this.addMaterial(new TaperMaterial()); | 95 | this.addMaterial(new TaperMaterial()); |
96 | this.addMaterial(new TunnelMaterial()); | 96 | //this.addMaterial(new TunnelMaterial()); |
97 | this.addMaterial(new TwistMaterial()); | 97 | //this.addMaterial(new TwistMaterial()); |
98 | this.addMaterial(new TwistVertMaterial()); | 98 | this.addMaterial(new TwistVertMaterial()); |
99 | this.addMaterial(new UberMaterial()); | 99 | this.addMaterial(new UberMaterial()); |
100 | this.addMaterial(new WaterMaterial()); | 100 | this.addMaterial(new WaterMaterial()); |
101 | this.addMaterial(new ZInvertMaterial()); | 101 | //this.addMaterial(new ZInvertMaterial()); |
102 | } | 102 | } |
103 | }, | 103 | }, |
104 | 104 | ||
@@ -251,24 +251,24 @@ exports.MaterialsModel = Montage.create(Component, { | |||
251 | 251 | ||
252 | case "taper": mat = new TaperMaterial(); break; | 252 | case "taper": mat = new TaperMaterial(); break; |
253 | case "twistVert": mat = new TwistVertMaterial(); break; | 253 | case "twistVert": mat = new TwistVertMaterial(); break; |
254 | case "radialBlur": mat = new RadialBlurMaterial(); break; | 254 | //case "radialBlur": mat = new RadialBlurMaterial(); break; |
255 | case "plasma": mat = new PlasmaMaterial(); break; | 255 | case "plasma": mat = new PlasmaMaterial(); break; |
256 | case "pulse": mat = new PulseMaterial(); break; | 256 | case "pulse": mat = new PulseMaterial(); break; |
257 | case "tunnel": mat = new TunnelMaterial(); break; | 257 | //case "tunnel": mat = new TunnelMaterial(); break; |
258 | case "reliefTunnel": mat = new ReliefTunnelMaterial(); break; | 258 | //case "reliefTunnel": mat = new ReliefTunnelMaterial(); break; |
259 | case "squareTunnel": mat = new SquareTunnelMaterial(); break; | 259 | //case "squareTunnel": mat = new SquareTunnelMaterial(); break; |
260 | case "flag": mat = new FlagMaterial(); break; | 260 | case "flag": mat = new FlagMaterial(); break; |
261 | case "fly": mat = new FlyMaterial(); break; | 261 | //case "fly": mat = new FlyMaterial(); break; |
262 | case "water": mat = new WaterMaterial(); break; | 262 | case "water": mat = new WaterMaterial(); break; |
263 | case "paris": mat = new ParisMaterial(); break; | 263 | case "paris": mat = new ParisMaterial(); break; |
264 | case "raiders": mat = new RaidersMaterial(); break; | 264 | //case "raiders": mat = new RaidersMaterial(); break; |
265 | case "zinvert": mat = new ZInvertMaterial(); break; | 265 | //case "zinvert": mat = new ZInvertMaterial(); break; |
266 | case "deform": mat = new DeformMaterial(); break; | 266 | //case "deform": mat = new DeformMaterial(); break; |
267 | case "star": mat = new StarMaterial(); break; | 267 | //case "star": mat = new StarMaterial(); break; |
268 | case "twist": mat = new TwistMaterial(); break; | 268 | //case "twist": mat = new TwistMaterial(); break; |
269 | case "julia": mat = new JuliaMaterial(); break; | 269 | //case "julia": mat = new JuliaMaterial(); break; |
270 | case "keleidoscope": mat = new KeleidoscopeMaterial(); break; | 270 | //case "keleidoscope": mat = new KeleidoscopeMaterial(); break; |
271 | case "mandel": mat = new MandelMaterial(); break; | 271 | //case "mandel": mat = new MandelMaterial(); break; |
272 | 272 | ||
273 | 273 | ||
274 | default: | 274 | default: |