Fix dof overwriting alpha value.

This commit is contained in:
Vincent Lejeune 2014-05-30 02:32:01 +02:00
parent 80b8851a9a
commit 44f70454ad

View File

@ -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);
}