Skip to content

Commit

Permalink
Small fix to bloom shader
Browse files Browse the repository at this point in the history
  • Loading branch information
Yilmaz4 committed Jul 2, 2024
1 parent 4c9a6c5 commit 408be4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/bloom/display.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ uniform int accumulationFrameIndex;

void main() {
vec3 pixel = texture(screenTexture, vec2(gl_FragCoord.x / screenSize.x, gl_FragCoord.y / screenSize.y)).rgb;
fragColor = vec4(pixel, 1.f - transparency);
fragColor = vec4(pixel, transparency);
}

0 comments on commit 408be4d

Please sign in to comment.