mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-30 12:48:28 +00:00
Removes a tab
This commit is contained in:
parent
983cfbca03
commit
b65ae956e3
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ void main(void)
|
|||
float radialDepth = distance(position.xyz, cameraPos);
|
||||
// TODO: Figure out how to properly radialise refraction depth and thus underwater fog
|
||||
// while avoiding oddities when the water plane is close to the clipping plane
|
||||
#if @reverseZ
|
||||
#if @reverseZ
|
||||
radialise = radialDepth / linearDepth;
|
||||
#else
|
||||
radialise = mix(1.0, radialDepth / linearDepth, clamp(max(abs(cameraPos.z) - 14.0, 0.0) / 135.0, 0.0, 1.0));
|
||||
|
|
|
|||
Loading…
Reference in a new issue