.. | .. |
---|
79 | 79 | |
---|
80 | 80 | void UpdateMaterial(cMaterial anchor, cMaterial current) |
---|
81 | 81 | { |
---|
82 | | - color *= Factor(anchor.color, current.color); |
---|
| 82 | + //color *= Factor(anchor.color, current.color); |
---|
| 83 | + color = current.color; |
---|
83 | 84 | //if (anchor.saturation == 0) |
---|
84 | 85 | // anchor.saturation = 0.001f; |
---|
85 | 86 | if (anchor.modulation == 0) |
---|
.. | .. |
---|
361 | 362 | float diffuse = 0.75f, specular = 0.25f, shininess = 0.75f, shift = 1; |
---|
362 | 363 | float ambient = 0.001f, lightarea = 0.025f, factor = 0.001f, velvet = 0.001f; |
---|
363 | 364 | 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; |
---|
365 | 366 | float fakedepth = 0.5f, shadowbias = 0.01f; // 0.001f; |
---|
366 | 367 | |
---|
367 | 368 | boolean multiply; |
---|