BloomEffect fixed _source, fixed basic.glsl
This commit is contained in:
parent
5bb690e45f
commit
03d99ea28e
4 changed files with 7 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue