Correction for multi-source fading and fixed bug in normal map generation. Final testing to commence.
BIN
textures/boundary/administrative/brd/b1.png
Normal file
After Width: | Height: | Size: 1.7 MiB |
BIN
textures/boundary/administrative/brd/b2.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
textures/boundary/administrative/brd/b3.png
Normal file
After Width: | Height: | Size: 1.9 MiB |
BIN
textures/boundary/administrative/ptc/b1_p1.png
Normal file
After Width: | Height: | Size: 958 KiB |
BIN
textures/boundary/administrative/ptc/b1_p2.png
Normal file
After Width: | Height: | Size: 578 KiB |
BIN
textures/boundary/administrative/ptc/b2_p1.png
Normal file
After Width: | Height: | Size: 871 KiB |
BIN
textures/boundary/administrative/ptc/b2_p2.png
Normal file
After Width: | Height: | Size: 716 KiB |
BIN
textures/boundary/administrative/ptc/b3_p1.png
Normal file
After Width: | Height: | Size: 899 KiB |
BIN
textures/boundary/administrative/ptc/b3_p2.png
Normal file
After Width: | Height: | 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
|
||||||
|