Switch alpha test from < to <= to fix weird shadows on actors with 50% chameleon

pull/1547/head
AnyOldName3 6 years ago committed by GitHub
parent b178e1868a
commit ad9dab8593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save