mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-28 03:11:34 +00:00
Merge branch 'postpass_hotfix' into 'master'
[Postprocessing[ Temporary fix for artifacts in transparent post-pass (#6919) See merge request OpenMW/openmw!2222
This commit is contained in:
commit
c8e5b90ac4
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