1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fix recent glow regressions

This commit is contained in:
clayjohn
2020-08-29 11:27:43 -07:00
parent 1ff139cb28
commit d069cc9cf2
2 changed files with 4 additions and 4 deletions

View File

@@ -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);