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 edc4f7da..19204470 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;
@@ -170,28 +177,42 @@ var MaterialsLibrary = Object.create(Object.prototype, {
170// create the library of stroke and fill materials 177// create the library of stroke and fill materials
171 178
172var uberMaterial = new UberMaterial(); 179var uberMaterial = new UberMaterial();
173//var linearGradientMaterial = new LinearGradientMaterial(); 180var linearGradientMaterial = new LinearGradientMaterial();
174//var radialGradientMaterial = new RadialGradientMaterial(); 181var radialGradientMaterial = new RadialGradientMaterial();
175//var radialBlurMaterial = new RadialBlurMaterial(); 182var radialBlurMaterial = new RadialBlurMaterial();
176//var pulseMaterial = new PulseMaterial(); 183var pulseMaterial = new PulseMaterial();
177//var tunnelMaterial = new TunnelMaterial(); 184var tunnelMaterial = new TunnelMaterial();
178//var twistMaterial = new TwistMaterial(); 185var reliefTunnelMaterial = new ReliefTunnelMaterial();
179//var keleidoscopeMaterial = new KeleidoscopeMaterial(); 186var squareTunnelMaterial = new SquareTunnelMaterial();
180//var juliaMaterial = new JuliaMaterial(); 187var flyMaterial = new FlyMaterial();
181//var mandelMaterial = new MandelMaterial(); 188var waterMaterial = new WaterMaterial();
182//var plasmaMaterial = new PlasmaMaterial(); 189var zInvertMaterial = new ZInvertMaterial();
190var deformMaterial = new DeformMaterial();
191var starMaterial = new StarMaterial();
192var twistMaterial = new TwistMaterial();
193var keleidoscopeMaterial = new KeleidoscopeMaterial();
194var juliaMaterial = new JuliaMaterial();
195var mandelMaterial = new MandelMaterial();
196var plasmaMaterial = new PlasmaMaterial();
183var bumpMetalMaterial = new BumpMetalMaterial(); 197var bumpMetalMaterial = new BumpMetalMaterial();
184 198
185//MaterialsLibrary.addMaterial(linearGradientMaterial); 199MaterialsLibrary.addMaterial(linearGradientMaterial);
186//MaterialsLibrary.addMaterial(radialGradientMaterial); 200MaterialsLibrary.addMaterial(radialGradientMaterial);
187//MaterialsLibrary.addMaterial(radialBlurMaterial); 201MaterialsLibrary.addMaterial(radialBlurMaterial);
188//MaterialsLibrary.addMaterial(pulseMaterial); 202MaterialsLibrary.addMaterial(pulseMaterial);
189//MaterialsLibrary.addMaterial(tunnelMaterial); 203MaterialsLibrary.addMaterial(tunnelMaterial);
190//MaterialsLibrary.addMaterial(twistMaterial); 204MaterialsLibrary.addMaterial(reliefTunnelMaterial);
191//MaterialsLibrary.addMaterial(keleidoscopeMaterial); 205MaterialsLibrary.addMaterial(squareTunnelMaterial);
192//MaterialsLibrary.addMaterial(juliaMaterial); 206MaterialsLibrary.addMaterial(flyMaterial);
193//MaterialsLibrary.addMaterial(mandelMaterial); 207MaterialsLibrary.addMaterial(waterMaterial);
194//MaterialsLibrary.addMaterial(plasmaMaterial); 208MaterialsLibrary.addMaterial(zInvertMaterial);
209MaterialsLibrary.addMaterial(deformMaterial);
210MaterialsLibrary.addMaterial(starMaterial);
211MaterialsLibrary.addMaterial(twistMaterial);
212MaterialsLibrary.addMaterial(keleidoscopeMaterial);
213MaterialsLibrary.addMaterial(juliaMaterial);
214MaterialsLibrary.addMaterial(mandelMaterial);
215MaterialsLibrary.addMaterial(plasmaMaterial);
195MaterialsLibrary.addMaterial(bumpMetalMaterial); 216MaterialsLibrary.addMaterial(bumpMetalMaterial);
196MaterialsLibrary.addMaterial(uberMaterial); 217MaterialsLibrary.addMaterial(uberMaterial);
197 218