Correction for multi-source fading and fixed bug in normal map generation. Final testing to commence.
This commit is contained in:
parent
d5c3c5ecad
commit
5d05f376f6
BIN
textures/boundary/administrative/brd/b1.png
Normal file
BIN
textures/boundary/administrative/brd/b1.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.7 MiB |
BIN
textures/boundary/administrative/brd/b2.png
Normal file
BIN
textures/boundary/administrative/brd/b2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.8 MiB |
BIN
textures/boundary/administrative/brd/b3.png
Normal file
BIN
textures/boundary/administrative/brd/b3.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 1.9 MiB |
BIN
textures/boundary/administrative/ptc/b1_p1.png
Normal file
BIN
textures/boundary/administrative/ptc/b1_p1.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 958 KiB |
BIN
textures/boundary/administrative/ptc/b1_p2.png
Normal file
BIN
textures/boundary/administrative/ptc/b1_p2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 578 KiB |
BIN
textures/boundary/administrative/ptc/b2_p1.png
Normal file
BIN
textures/boundary/administrative/ptc/b2_p1.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 871 KiB |
BIN
textures/boundary/administrative/ptc/b2_p2.png
Normal file
BIN
textures/boundary/administrative/ptc/b2_p2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 716 KiB |
BIN
textures/boundary/administrative/ptc/b3_p1.png
Normal file
BIN
textures/boundary/administrative/ptc/b3_p1.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 899 KiB |
BIN
textures/boundary/administrative/ptc/b3_p2.png
Normal file
BIN
textures/boundary/administrative/ptc/b3_p2.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 904 KiB |
@ -130,7 +130,7 @@ class mstr_xp_normalmap:
|
|||||||
nrm[1] = abs(nrm[1])
|
nrm[1] = abs(nrm[1])
|
||||||
|
|
||||||
# Set pixel
|
# Set pixel
|
||||||
nmp_pix[x,y] = (int(self.map_component(nrm[0])), int(self.map_component(nrm[1])), int(self.map_component(nrm[2])), 1)
|
nmp_pix[x,y] = (int(self.map_component(nrm[0])), int(self.map_component(nrm[1])), 255 - int(self.map_component(nrm[2])), 1)
|
||||||
|
|
||||||
mstr_msg("xp_normalmap", "[X-Plane] Normal map generated")
|
mstr_msg("xp_normalmap", "[X-Plane] Normal map generated")
|
||||||
return nmp
|
return nmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user