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:
parent
a62b16df5d
commit
02ded8832c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user