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.js42
1 files changed, 8 insertions, 34 deletions
diff --git a/js/helper-classes/RDGE/MaterialsLibrary.js b/js/helper-classes/RDGE/MaterialsLibrary.js
index edc4f7da..314a13bc 100644
--- a/js/helper-classes/RDGE/MaterialsLibrary.js
+++ b/js/helper-classes/RDGE/MaterialsLibrary.js
@@ -127,21 +127,9 @@ var MaterialsLibrary = Object.create(Object.prototype, {
127 switch (type) 127 switch (type)
128 { 128 {
129 case "flat": mat = new FlatMaterial(); break; 129 case "flat": mat = new FlatMaterial(); break;
130 case "brick": mat = new BrickMaterial(); break;
131 case "iridescentScales": mat = new IridescentScalesMaterial(); break;
132 case "quilt_1": mat = new QuiltMaterial01(); break;
133 case "quilt_2": mat = new QuiltMaterial02(); break;
134 case "linearGradient": mat = new LinearGradientMaterial(); break; 130 case "linearGradient": mat = new LinearGradientMaterial(); break;
135 case "radialGradient": mat = new RadialGradientMaterial(); break; 131 case "radialGradient": mat = new RadialGradientMaterial(); break;
136 case "radialBlur": mat = new RadiaBlurMaterial(); break; 132 case "bumpMetal": mat = new BumpMetalMaterial(); break;
137 case "pulse": mat = new PulseMaterial(); break;
138 case "tunnel": mat = new TunnelMaterial(); break;
139 case "twist": mat = new TwistMaterial(); break;
140 case "keleidoscope": mat = new KeleidoscopeMaterial(); break;
141 case "julia": mat = new JuliaMaterial(); break;
142 case "mandel": mat = new MandelMaterial(); break;
143 case "plasma": mat = new PlasmaMaterial(); break;
144 case "bumpMetal": mat = new PlasmaMaterial(); break;
145 case "uber": mat = new UberMaterial(); break; 133 case "uber": mat = new UberMaterial(); break;
146 134
147 default: 135 default:
@@ -169,29 +157,15 @@ var MaterialsLibrary = Object.create(Object.prototype, {
169 157
170// create the library of stroke and fill materials 158// create the library of stroke and fill materials
171 159
172var uberMaterial = new UberMaterial(); 160var flatMaterial = new FlatMaterial();
173//var linearGradientMaterial = new LinearGradientMaterial(); 161var linearGradientMaterial = new LinearGradientMaterial();
174//var radialGradientMaterial = new RadialGradientMaterial(); 162var radialGradientMaterial = new RadialGradientMaterial();
175//var radialBlurMaterial = new RadialBlurMaterial();
176//var pulseMaterial = new PulseMaterial();
177//var tunnelMaterial = new TunnelMaterial();
178//var twistMaterial = new TwistMaterial();
179//var keleidoscopeMaterial = new KeleidoscopeMaterial();
180//var juliaMaterial = new JuliaMaterial();
181//var mandelMaterial = new MandelMaterial();
182//var plasmaMaterial = new PlasmaMaterial();
183var bumpMetalMaterial = new BumpMetalMaterial(); 163var bumpMetalMaterial = new BumpMetalMaterial();
164var uberMaterial = new UberMaterial();
184 165
185//MaterialsLibrary.addMaterial(linearGradientMaterial); 166MaterialsLibrary.addMaterial(flatMaterial);
186//MaterialsLibrary.addMaterial(radialGradientMaterial); 167MaterialsLibrary.addMaterial(linearGradientMaterial);
187//MaterialsLibrary.addMaterial(radialBlurMaterial); 168MaterialsLibrary.addMaterial(radialGradientMaterial);
188//MaterialsLibrary.addMaterial(pulseMaterial);
189//MaterialsLibrary.addMaterial(tunnelMaterial);
190//MaterialsLibrary.addMaterial(twistMaterial);
191//MaterialsLibrary.addMaterial(keleidoscopeMaterial);
192//MaterialsLibrary.addMaterial(juliaMaterial);
193//MaterialsLibrary.addMaterial(mandelMaterial);
194//MaterialsLibrary.addMaterial(plasmaMaterial);
195MaterialsLibrary.addMaterial(bumpMetalMaterial); 169MaterialsLibrary.addMaterial(bumpMetalMaterial);
196MaterialsLibrary.addMaterial(uberMaterial); 170MaterialsLibrary.addMaterial(uberMaterial);
197 171