diff options
author | clayjohn <claynjohn@gmail.com> | 2020-08-29 11:27:43 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2020-08-29 11:27:43 -0700 |
commit | d069cc9cf2721941bbef3157bc284c0dcf1d001f (patch) | |
tree | e09661896a16e03ab1353cdeb1816415a8e70e76 /servers/rendering/rasterizer_rd/shaders/copy.glsl | |
parent | 1ff139cb28137d5b1b492f74e5fc58cbeee01e4a (diff) |
Fix recent glow regressions
Diffstat (limited to 'servers/rendering/rasterizer_rd/shaders/copy.glsl')
-rw-r--r-- | servers/rendering/rasterizer_rd/shaders/copy.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rasterizer_rd/shaders/copy.glsl b/servers/rendering/rasterizer_rd/shaders/copy.glsl index eb39c28fa9..86c15e9efa 100644 --- a/servers/rendering/rasterizer_rd/shaders/copy.glsl +++ b/servers/rendering/rasterizer_rd/shaders/copy.glsl @@ -116,7 +116,7 @@ void main() { vec4 color = vec4(0.0); if (bool(params.flags & FLAG_HORIZONTAL)) { - ivec2 base_pos = (pos + params.section.xy) << 1; + ivec2 base_pos = ((pos + params.section.xy) << 1) + ivec2(1); ivec2 section_begin = params.section.xy << 1; ivec2 section_end = section_begin + (params.section.zw << 1); |