diff options
Diffstat (limited to 'js/helper-classes/RDGE/MaterialsLibrary.js')
-rw-r--r-- | js/helper-classes/RDGE/MaterialsLibrary.js | 61 |
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 | ||
172 | var flatMaterial = new FlatMaterial(); | 179 | var flatMaterial = new FlatMaterial(); |
173 | var uberMaterial = new UberMaterial(); | 180 | var uberMaterial = new UberMaterial(); |
174 | //var linearGradientMaterial = new LinearGradientMaterial(); | 181 | var linearGradientMaterial = new LinearGradientMaterial(); |
175 | //var radialGradientMaterial = new RadialGradientMaterial(); | 182 | var radialGradientMaterial = new RadialGradientMaterial(); |
176 | //var radialBlurMaterial = new RadialBlurMaterial(); | 183 | var radialBlurMaterial = new RadialBlurMaterial(); |
177 | //var pulseMaterial = new PulseMaterial(); | 184 | var pulseMaterial = new PulseMaterial(); |
178 | //var tunnelMaterial = new TunnelMaterial(); | 185 | var tunnelMaterial = new TunnelMaterial(); |
179 | //var twistMaterial = new TwistMaterial(); | 186 | var reliefTunnelMaterial = new ReliefTunnelMaterial(); |
180 | //var keleidoscopeMaterial = new KeleidoscopeMaterial(); | 187 | var squareTunnelMaterial = new SquareTunnelMaterial(); |
181 | //var juliaMaterial = new JuliaMaterial(); | 188 | var flyMaterial = new FlyMaterial(); |
182 | //var mandelMaterial = new MandelMaterial(); | 189 | var waterMaterial = new WaterMaterial(); |
183 | //var plasmaMaterial = new PlasmaMaterial(); | 190 | var zInvertMaterial = new ZInvertMaterial(); |
191 | var deformMaterial = new DeformMaterial(); | ||
192 | var starMaterial = new StarMaterial(); | ||
193 | var twistMaterial = new TwistMaterial(); | ||
194 | var keleidoscopeMaterial = new KeleidoscopeMaterial(); | ||
195 | var juliaMaterial = new JuliaMaterial(); | ||
196 | var mandelMaterial = new MandelMaterial(); | ||
197 | var plasmaMaterial = new PlasmaMaterial(); | ||
184 | var bumpMetalMaterial = new BumpMetalMaterial(); | 198 | var bumpMetalMaterial = new BumpMetalMaterial(); |
185 | 199 | ||
200 | MaterialsLibrary.addMaterial(linearGradientMaterial); | ||
186 | MaterialsLibrary.addMaterial(flatMaterial); | 201 | MaterialsLibrary.addMaterial(flatMaterial); |
187 | //MaterialsLibrary.addMaterial(linearGradientMaterial); | 202 | MaterialsLibrary.addMaterial(radialGradientMaterial); |
188 | //MaterialsLibrary.addMaterial(radialGradientMaterial); | 203 | MaterialsLibrary.addMaterial(radialBlurMaterial); |
189 | //MaterialsLibrary.addMaterial(radialBlurMaterial); | 204 | MaterialsLibrary.addMaterial(pulseMaterial); |
190 | //MaterialsLibrary.addMaterial(pulseMaterial); | 205 | MaterialsLibrary.addMaterial(tunnelMaterial); |
191 | //MaterialsLibrary.addMaterial(tunnelMaterial); | 206 | MaterialsLibrary.addMaterial(reliefTunnelMaterial); |
192 | //MaterialsLibrary.addMaterial(twistMaterial); | 207 | MaterialsLibrary.addMaterial(squareTunnelMaterial); |
193 | //MaterialsLibrary.addMaterial(keleidoscopeMaterial); | 208 | MaterialsLibrary.addMaterial(flyMaterial); |
194 | //MaterialsLibrary.addMaterial(juliaMaterial); | 209 | MaterialsLibrary.addMaterial(waterMaterial); |
195 | //MaterialsLibrary.addMaterial(mandelMaterial); | 210 | MaterialsLibrary.addMaterial(zInvertMaterial); |
196 | //MaterialsLibrary.addMaterial(plasmaMaterial); | 211 | MaterialsLibrary.addMaterial(deformMaterial); |
212 | MaterialsLibrary.addMaterial(starMaterial); | ||
213 | MaterialsLibrary.addMaterial(twistMaterial); | ||
214 | MaterialsLibrary.addMaterial(keleidoscopeMaterial); | ||
215 | MaterialsLibrary.addMaterial(juliaMaterial); | ||
216 | MaterialsLibrary.addMaterial(mandelMaterial); | ||
217 | MaterialsLibrary.addMaterial(plasmaMaterial); | ||
197 | MaterialsLibrary.addMaterial(bumpMetalMaterial); | 218 | MaterialsLibrary.addMaterial(bumpMetalMaterial); |
198 | MaterialsLibrary.addMaterial(uberMaterial); | 219 | MaterialsLibrary.addMaterial(uberMaterial); |
199 | 220 | ||