1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 18:45:38 +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;