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.
|