1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 06:53:53 +00:00

Merge branch 'osgshadow-test-vdsm' of https://github.com/AnyOldName3/openmw into osgshadow-test-vdsm

This commit is contained in:
AnyOldName3 2018-11-29 01:26:22 +00:00
commit 49487355a5

View file

@ -16,6 +16,6 @@ void main()
gl_FragData[0].a = alphaPassthrough;
// Prevent translucent things casting shadow (including the player using an invisibility effect)
if (gl_FragData[0].a < 0.5)
if (gl_FragData[0].a <= 0.5)
discard;
}