mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 06:44:29 +00:00
Merge branch 'osgshadow-test-vdsm' of https://github.com/AnyOldName3/openmw into osgshadow-test-vdsm
This commit is contained in:
commit
49487355a5
@ -16,6 +16,6 @@ void main()
|
|||||||
gl_FragData[0].a = alphaPassthrough;
|
gl_FragData[0].a = alphaPassthrough;
|
||||||
|
|
||||||
// Prevent translucent things casting shadow (including the player using an invisibility effect)
|
// 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;
|
discard;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user