1
0
Fork 0
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:
Qlonever 2023-04-12 04:35:45 -04:00 committed by elsid
parent 983cfbca03
commit b65ae956e3
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -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));