From 537f4ac57ae2b34f0a04fa63874c8ca6534c9a6d Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 20 Aug 2019 02:31:25 -0400
Subject: [PATCH] Faster JPG reader.

---
 cMaterial.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cMaterial.java b/cMaterial.java
index 14519fe..fe3d2ea 100644
--- a/cMaterial.java
+++ b/cMaterial.java
@@ -79,7 +79,8 @@
 
     void UpdateMaterial(cMaterial anchor, cMaterial current)
     {
-        color *= Factor(anchor.color, current.color);
+        //color *= Factor(anchor.color, current.color);
+        color = current.color;
         //if (anchor.saturation == 0)
         //    anchor.saturation = 0.001f;
         if (anchor.modulation == 0)
@@ -361,7 +362,7 @@
     float diffuse = 0.75f, specular = 0.25f, shininess = 0.75f, shift = 1;
     float ambient = 0.001f, lightarea = 0.025f, factor = 0.001f, velvet = 0.001f;
     float sheen = 1f, subsurface = 0.001f, bump = 0.75f, aniso = 0.001f, anisoV = 0.001f;
-    float cameralight = 0.2f, diffuseness = 0.001f, shadow = 5f, texture = 1f, opacity = 1;
+    float cameralight = 0.3f, diffuseness = 0.001f, shadow = 5f, texture = 1f, opacity = 1;
     float fakedepth = 0.5f, shadowbias = 0.01f; // 0.001f;
 
     boolean multiply;

--
Gitblit v1.6.2