1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

temporary fix for artifacts in transparent post-pass

This commit is contained in:
glassmancody.info 2022-07-31 18:51:42 -07:00
parent a62b16df5d
commit 02ded8832c

View File

@ -9,7 +9,7 @@ void main()
{
float alpha = texture2D(diffuseMap, diffuseMapUV).a * alphaPassthrough;
const float alphaRef = 0.5;
const float alphaRef = 0.499;
if (alpha < alphaRef)
discard;