mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 00:15:35 +00:00
temporary fix for artifacts in transparent post-pass
This commit is contained in:
parent
a62b16df5d
commit
02ded8832c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ void main()
|
||||||
{
|
{
|
||||||
float alpha = texture2D(diffuseMap, diffuseMapUV).a * alphaPassthrough;
|
float alpha = texture2D(diffuseMap, diffuseMapUV).a * alphaPassthrough;
|
||||||
|
|
||||||
const float alphaRef = 0.5;
|
const float alphaRef = 0.499;
|
||||||
|
|
||||||
if (alpha < alphaRef)
|
if (alpha < alphaRef)
|
||||||
discard;
|
discard;
|
||||||
|
|
Loading…
Reference in a new issue