aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/MaterialsLibrary.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/RDGE/MaterialsLibrary.js')
-rw-r--r--js/helper-classes/RDGE/MaterialsLibrary.js61
1 files changed, 41 insertions, 20 deletions
diff --git a/js/helper-classes/RDGE/MaterialsLibrary.js b/js/helper-classes/RDGE/MaterialsLibrary.js
index 9616b525..d2988acf 100644
--- a/js/helper-classes/RDGE/MaterialsLibrary.js
+++ b/js/helper-classes/RDGE/MaterialsLibrary.js
@@ -136,6 +136,13 @@ var MaterialsLibrary = Object.create(Object.prototype, {
136 case "radialBlur": mat = new RadiaBlurMaterial(); break; 136 case "radialBlur": mat = new RadiaBlurMaterial(); break;
137 case "pulse": mat = new PulseMaterial(); break; 137 case "pulse": mat = new PulseMaterial(); break;
138 case "tunnel": mat = new TunnelMaterial(); break; 138 case "tunnel": mat = new TunnelMaterial(); break;
139 case "reliefTunnel": mat = new ReliefTunnelMaterial(); break;
140 case "squareTunnel": mat = new SquareTunnelMaterial(); break;
141 case "fly": mat = new FlyMaterial(); break;
142 case "water": mat = new WaterMaterial(); break;
143 case "zInvert": mat = new ZInvertMaterial(); break;
144 case "deform": mat = new DeformMaterial(); break;
145 case "star": mat = new StarMaterial(); break;
139 case "twist": mat = new TwistMaterial(); break; 146 case "twist": mat = new TwistMaterial(); break;
140 case "keleidoscope": mat = new KeleidoscopeMaterial(); break; 147 case "keleidoscope": mat = new KeleidoscopeMaterial(); break;
141 case "julia": mat = new JuliaMaterial(); break; 148 case "julia": mat = new JuliaMaterial(); break;
@@ -171,29 +178,43 @@ var MaterialsLibrary = Object.create(Object.prototype, {
171 178
172var flatMaterial = new FlatMaterial(); 179var flatMaterial = new FlatMaterial();
173var uberMaterial = new UberMaterial(); 180var uberMaterial = new UberMaterial();
174//var linearGradientMaterial = new LinearGradientMaterial(); 181var linearGradientMaterial = new LinearGradientMaterial();
175//var radialGradientMaterial = new RadialGradientMaterial(); 182var radialGradientMaterial = new RadialGradientMaterial();
176//var radialBlurMaterial = new RadialBlurMaterial(); 183var radialBlurMaterial = new RadialBlurMaterial();
177//var pulseMaterial = new PulseMaterial(); 184var pulseMaterial = new PulseMaterial();
178//var tunnelMaterial = new TunnelMaterial(); 185var tunnelMaterial = new TunnelMaterial();
179//var twistMaterial = new TwistMaterial(); 186var reliefTunnelMaterial = new ReliefTunnelMaterial();
180//var keleidoscopeMaterial = new KeleidoscopeMaterial(); 187var squareTunnelMaterial = new SquareTunnelMaterial();
181//var juliaMaterial = new JuliaMaterial(); 188var flyMaterial = new FlyMaterial();
182//var mandelMaterial = new MandelMaterial(); 189var waterMaterial = new WaterMaterial();
183//var plasmaMaterial = new PlasmaMaterial(); 190var zInvertMaterial = new ZInvertMaterial();
191var deformMaterial = new DeformMaterial();
192var starMaterial = new StarMaterial();
193var twistMaterial = new TwistMaterial();
194var keleidoscopeMaterial = new KeleidoscopeMaterial();
195var juliaMaterial = new JuliaMaterial();
196var mandelMaterial = new MandelMaterial();
197var plasmaMaterial = new PlasmaMaterial();
184var bumpMetalMaterial = new BumpMetalMaterial(); 198var bumpMetalMaterial = new BumpMetalMaterial();
185 199
200MaterialsLibrary.addMaterial(linearGradientMaterial);
186MaterialsLibrary.addMaterial(flatMaterial); 201MaterialsLibrary.addMaterial(flatMaterial);
187//MaterialsLibrary.addMaterial(linearGradientMaterial); 202MaterialsLibrary.addMaterial(radialGradientMaterial);
188//MaterialsLibrary.addMaterial(radialGradientMaterial); 203MaterialsLibrary.addMaterial(radialBlurMaterial);
189//MaterialsLibrary.addMaterial(radialBlurMaterial); 204MaterialsLibrary.addMaterial(pulseMaterial);
190//MaterialsLibrary.addMaterial(pulseMaterial); 205MaterialsLibrary.addMaterial(tunnelMaterial);
191//MaterialsLibrary.addMaterial(tunnelMaterial); 206MaterialsLibrary.addMaterial(reliefTunnelMaterial);
192//MaterialsLibrary.addMaterial(twistMaterial); 207MaterialsLibrary.addMaterial(squareTunnelMaterial);
193//MaterialsLibrary.addMaterial(keleidoscopeMaterial); 208MaterialsLibrary.addMaterial(flyMaterial);
194//MaterialsLibrary.addMaterial(juliaMaterial); 209MaterialsLibrary.addMaterial(waterMaterial);
195//MaterialsLibrary.addMaterial(mandelMaterial); 210MaterialsLibrary.addMaterial(zInvertMaterial);
196//MaterialsLibrary.addMaterial(plasmaMaterial); 211MaterialsLibrary.addMaterial(deformMaterial);
212MaterialsLibrary.addMaterial(starMaterial);
213MaterialsLibrary.addMaterial(twistMaterial);
214MaterialsLibrary.addMaterial(keleidoscopeMaterial);
215MaterialsLibrary.addMaterial(juliaMaterial);
216MaterialsLibrary.addMaterial(mandelMaterial);
217MaterialsLibrary.addMaterial(plasmaMaterial);
197MaterialsLibrary.addMaterial(bumpMetalMaterial); 218MaterialsLibrary.addMaterial(bumpMetalMaterial);
198MaterialsLibrary.addMaterial(uberMaterial); 219MaterialsLibrary.addMaterial(uberMaterial);
199 220