Fix dof overwriting alpha value.
This commit is contained in:
parent
80b8851a9a
commit
44f70454ad
@ -82,5 +82,5 @@ void main()
|
||||
depth = (1 - depth);
|
||||
vec3 final = colOriginal.rgb * depth + col.rgb * (1 - depth);
|
||||
|
||||
FragColor = vec4(final, 1.);
|
||||
FragColor = vec4(final, colOriginal.a);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user