]> marstr Code Repo - marstr/orthographic.git/commitdiff
Switched back to png in normal map string
authorMarcus Str. <marcus@marstr.online>
Sun, 2 Feb 2025 09:49:45 +0000 (10:49 +0100)
committerMarcus Str. <marcus@marstr.online>
Sun, 2 Feb 2025 09:49:45 +0000 (10:49 +0100)
xp_scenery.py

index 6bcb150398f107d2110235096bcc94245889d0ed..b3ecbc68483be2e7a3f5cb903db3fde0fa07b43f 100644 (file)
@@ -187,7 +187,7 @@ class mstr_xp_scenery:
                 terstr = terstr + "LOAD_CENTER " + str(cnt_x) + " " + str(cnt_y) + " " + str(dmt) + " 2048\r\n"
                 terstr = terstr + "BASE_TEX_NOWRAP ../../orthos/" + self._latlngfld + "/" + str(lat)+"_"+str(lng)+".dds\r\n"
                 if mstr_xp_scn_normalmaps:
-                    terstr = terstr + "NORMAL_TEX 1.0 ../../normals/" + self._latlngfld + "/" + str(lat)+"_"+str(lng)+".dds\r\n"
+                    terstr = terstr + "NORMAL_TEX 1.0 ../../normals/" + self._latlngfld + "/" + str(lat)+"_"+str(lng)+".png\r\n"
 
                 terfln = mstr_datafolder + "z_orthographic/terrain/" + self._latlngfld + "/" + str(lat)+"_"+str(lng)+".ter"