]> marstr Code Repo - orthographic/commitdiff
Final normal map generation modification. Original result without multiplier appears...
authorMarcus Str. <marcus@marstr.online>
Sun, 1 Dec 2024 10:46:16 +0000 (11:46 +0100)
committerMarcus Str. <marcus@marstr.online>
Sun, 1 Dec 2024 10:46:16 +0000 (11:46 +0100)
xp_normalmap.py

index fcefc90708f89038e27d02ccc5dd61ca4f25afd3..6a326603c19b6a92a9aea47c82b193c2b8868748 100644 (file)
@@ -39,7 +39,7 @@ class mstr_xp_normalmap:
             pavg = 255.0 / avg\r
         else:\r
             pavg = 0\r
-        return pavg * 3\r
+        return pavg\r
 \r
 \r
     def clamp(self, px, mpx):\r