diff options
Diffstat (limited to 'js/helper-classes/RDGE/MaterialsLibrary.js')
-rwxr-xr-x | js/helper-classes/RDGE/MaterialsLibrary.js | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/js/helper-classes/RDGE/MaterialsLibrary.js b/js/helper-classes/RDGE/MaterialsLibrary.js index d62c2a21..8f55f2bc 100755 --- a/js/helper-classes/RDGE/MaterialsLibrary.js +++ b/js/helper-classes/RDGE/MaterialsLibrary.js | |||
@@ -132,6 +132,25 @@ var MaterialsLibrary = Object.create(Object.prototype, { | |||
132 | case "bumpMetal": mat = new BumpMetalMaterial(); break; | 132 | case "bumpMetal": mat = new BumpMetalMaterial(); break; |
133 | case "uber": mat = new UberMaterial(); break; | 133 | case "uber": mat = new UberMaterial(); break; |
134 | 134 | ||
135 | case "taper": mat = new TaperMaterial(); break; | ||
136 | case "twistVert": mat = new TwistVertMaterial(); break; | ||
137 | case "radialBlur": mat = new RadialBlurMaterial(); break; | ||
138 | case "plasma": mat = new PlasmaMaterial(); break; | ||
139 | case "pulse": mat = new PulseMaterial(); break; | ||
140 | case "tunnel": mat = new TunnelMaterial(); break; | ||
141 | case "reliefTunnel": mat = new ReliefTunnelMaterial(); break; | ||
142 | case "squareTunnel": mat = new SquareTunnelMaterial(); break; | ||
143 | case "fly": mat = new FlyMaterial(); break; | ||
144 | case "water": mat = new WaterMaterial(); break; | ||
145 | case "zinvert": mat = new ZInvertMaterial(); break; | ||
146 | case "deform": mat = new DeformMaterial(); break; | ||
147 | case "star": mat = new StarMaterial(); break; | ||
148 | case "twist": mat = new TwistMaterial(); break; | ||
149 | case "julia": mat = new JuliaMaterial(); break; | ||
150 | case "keleidoscope": mat = new KeleidoscopeMaterial(); break; | ||
151 | case "mandel": mat = new MandelMaterial(); break; | ||
152 | |||
153 | |||
135 | default: | 154 | default: |
136 | throw new Error( "Unrecognized material type: " + type ); | 155 | throw new Error( "Unrecognized material type: " + type ); |
137 | pu.advancePastToken( "endMaterial\n" ); | 156 | pu.advancePastToken( "endMaterial\n" ); |
@@ -163,9 +182,8 @@ var radialGradientMaterial = new RadialGradientMaterial(); | |||
163 | var bumpMetalMaterial = new BumpMetalMaterial(); | 182 | var bumpMetalMaterial = new BumpMetalMaterial(); |
164 | var uberMaterial = new UberMaterial(); | 183 | var uberMaterial = new UberMaterial(); |
165 | 184 | ||
166 | 185 | //var taperMaterial = new TaperMaterial(); | |
167 | var taperMaterial = new TaperMaterial(); | 186 | //var twistVertMaterial = new TwistVertMaterial(); |
168 | var twistVertMaterial = new TwistVertMaterial(); | ||
169 | var radialBlurMaterial = new RadialBlurMaterial(); | 187 | var radialBlurMaterial = new RadialBlurMaterial(); |
170 | var plasmaMaterial = new PlasmaMaterial(); | 188 | var plasmaMaterial = new PlasmaMaterial(); |
171 | var pulseMaterial = new PulseMaterial(); | 189 | var pulseMaterial = new PulseMaterial(); |
@@ -177,7 +195,6 @@ var waterMaterial = new WaterMaterial(); | |||
177 | var zInvertMaterial = new ZInvertMaterial(); | 195 | var zInvertMaterial = new ZInvertMaterial(); |
178 | var deformMaterial = new DeformMaterial(); | 196 | var deformMaterial = new DeformMaterial(); |
179 | var starMaterial = new StarMaterial(); | 197 | var starMaterial = new StarMaterial(); |
180 | var bumpMetalMaterial = new BumpMetalMaterial(); | ||
181 | var twistMaterial = new TwistMaterial(); | 198 | var twistMaterial = new TwistMaterial(); |
182 | var juliaMaterial = new JuliaMaterial(); | 199 | var juliaMaterial = new JuliaMaterial(); |
183 | var keleidoscopeMaterial = new KeleidoscopeMaterial(); | 200 | var keleidoscopeMaterial = new KeleidoscopeMaterial(); |
@@ -190,8 +207,8 @@ MaterialsLibrary.addMaterial(radialGradientMaterial); | |||
190 | MaterialsLibrary.addMaterial(bumpMetalMaterial); | 207 | MaterialsLibrary.addMaterial(bumpMetalMaterial); |
191 | MaterialsLibrary.addMaterial(uberMaterial); | 208 | MaterialsLibrary.addMaterial(uberMaterial); |
192 | 209 | ||
193 | MaterialsLibrary.addMaterial(taperMaterial); | 210 | //MaterialsLibrary.addMaterial(taperMaterial); |
194 | MaterialsLibrary.addMaterial(twistVertMaterial); | 211 | //MaterialsLibrary.addMaterial(twistVertMaterial); |
195 | 212 | ||
196 | MaterialsLibrary.addMaterial(radialBlurMaterial); | 213 | MaterialsLibrary.addMaterial(radialBlurMaterial); |
197 | MaterialsLibrary.addMaterial(plasmaMaterial); | 214 | MaterialsLibrary.addMaterial(plasmaMaterial); |
@@ -204,7 +221,6 @@ MaterialsLibrary.addMaterial(waterMaterial); | |||
204 | MaterialsLibrary.addMaterial(zInvertMaterial); | 221 | MaterialsLibrary.addMaterial(zInvertMaterial); |
205 | MaterialsLibrary.addMaterial(deformMaterial); | 222 | MaterialsLibrary.addMaterial(deformMaterial); |
206 | MaterialsLibrary.addMaterial(starMaterial); | 223 | MaterialsLibrary.addMaterial(starMaterial); |
207 | MaterialsLibrary.addMaterial(bumpMetalMaterial); | ||
208 | MaterialsLibrary.addMaterial(twistMaterial); | 224 | MaterialsLibrary.addMaterial(twistMaterial); |
209 | MaterialsLibrary.addMaterial(juliaMaterial); | 225 | MaterialsLibrary.addMaterial(juliaMaterial); |
210 | MaterialsLibrary.addMaterial(keleidoscopeMaterial); | 226 | MaterialsLibrary.addMaterial(keleidoscopeMaterial); |