Thread: Water Clarity
View Single Post
Old 06-03-10, 01:29 AM   #9
Zel
Sailor man
 
Join Date: Jun 2009
Posts: 45
Downloads: 8
Uploads: 0
Default

In the shader files, find this:


depthlength = saturate(depthlength/maxDist);

in the other file:

depthlength = saturate(depthlength/maxDist + shallowfactor);

Replace maxDist with (maxdist * X)


example: depthlength = saturate(depthlength/(maxDist*0.5));

X>1 should increase clarity
X<1 should decrease it

Mod both watertranspPS.fx and watertransp64PS.fx because i'm not sure which one the game will use.
Zel is offline   Reply With Quote