View Single Post
Old 05-14-11, 09:59 AM   #148
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Zedi View Post
Who knows.. maybe one day you guys can find a way to add shadows and the transparency of the ship hull underwater so there will be absolutely no difference between any ship.
When a GR2 unit is rendered the game engine adds the verticies of the unit that are underwater to a depth map. This depth map is then used in the water pixel shader to determine whether that pixel is deep water color or the color of the ship that is underwater (it is linearly interpolated). No such thing exists for DAT rendered units. That is why you can't 'see' them underwater from above water. I made a revised water pixel shader that made them show but it's not perfect. It will take modifying the sh5.exe to do it correctly.
TheDarkWraith is offline