mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 03:45:32 +00:00
Switch alpha test from < to <= to fix weird shadows on actors with 50% chameleon
This commit is contained in:
parent
b178e1868a
commit
ad9dab8593
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue