BloomEffect fixed _source, fixed basic.glsl

This commit is contained in:
Michel Fedde 2021-03-15 18:18:51 +01:00
parent 5bb690e45f
commit 03d99ea28e
4 changed files with 7 additions and 5 deletions

View file

@ -9,8 +9,6 @@ uniform sampler2D Texture;
layout(location = 0) out vec4 color;
void main() {
color = vec4(v_TexCoords, 0, 1);
return;
color = v_Color * Tint;
if (UseTexture) color = texture(Texture, v_TexCoords);
if (UseTexture) color *= texture(Texture, v_TexCoords);
}