View Single Post
Old 05-08-11, 03:51 AM   #358
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
Default

Quote:


Took 2 solid days to figure out how to make the pixel shader do this. It's not perfect as when the camera is near the water and the slope of the underlying terrain is not flat parts of the underwater area of the unit will not render (only applies to DAT rendered units). GR2 rendered units render fine like they always have. From long distance the underwater part of the vessel will not be visible. As the camera moves in closer it will start to fade in.

A side benefit of my additions to the pixel shader are also visible in the screenie. See that creme colored land just above the ship? That land is underwater. Yes, terrain that is within a certain distance from the top of the water will be rendered also.

So caustics effects and visible underwater from above water fixed for DAT files. Still working on reflections and holes (damage) only being visible underwater.
Wow! You did it!

Sadly I got nowhere with the guns rendering problem, I would be so great if we could use Sh 5 equiptment. And also I'm having difficulties getting good sinking mechanics. But this is great thing, let's enjoy this for a while!
Rongel is offline   Reply With Quote