Normand Briere
2019-08-18 480ad70047e54b2b92f974e6c2ac5a6c0bdc5a5c
cMaterial.java
....@@ -79,7 +79,8 @@
7979
8080 void UpdateMaterial(cMaterial anchor, cMaterial current)
8181 {
82
- color *= Factor(anchor.color, current.color);
82
+ //color *= Factor(anchor.color, current.color);
83
+ color = current.color;
8384 //if (anchor.saturation == 0)
8485 // anchor.saturation = 0.001f;
8586 if (anchor.modulation == 0)
....@@ -361,7 +362,7 @@
361362 float diffuse = 0.75f, specular = 0.25f, shininess = 0.75f, shift = 1;
362363 float ambient = 0.001f, lightarea = 0.025f, factor = 0.001f, velvet = 0.001f;
363364 float sheen = 1f, subsurface = 0.001f, bump = 0.75f, aniso = 0.001f, anisoV = 0.001f;
364
- float cameralight = 0.2f, diffuseness = 0.001f, shadow = 5f, texture = 1f, opacity = 1;
365
+ float cameralight = 0.3f, diffuseness = 0.001f, shadow = 5f, texture = 1f, opacity = 1;
365366 float fakedepth = 0.5f, shadowbias = 0.01f; // 0.001f;
366367
367368 boolean multiply;