mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:23:54 +00:00
Unrelated shadows fix
This commit is contained in:
parent
0bb51fd91d
commit
03f4e91ceb
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@
|
|||
float3 waterEyePos = intercept(worldPos, cameraPos.xyz - worldPos, float3(0,0,1), waterLevel);
|
||||
#endif
|
||||
|
||||
#if SHADOWS
|
||||
#if SHADOWS || SHADOWS_PSSM
|
||||
shOutputColour(0) *= (lightResult - float4(directionalResult * (1.0-shadow),0));
|
||||
#else
|
||||
shOutputColour(0) *= lightResult;
|
||||
|
|
Loading…
Reference in a new issue