Fix billboard transparency

This commit is contained in:
Vincent Lejeune 2015-02-19 00:44:21 +01:00
parent a74c98ec76
commit 9641380171

View File

@ -6,5 +6,5 @@ out vec4 FragColor;
void main(void)
{
vec4 color = texture(tex, uv);
FragColor = vec4(color.rgb, color.a);
FragColor = vec4(color.a * color.rgb, color.a);
}