diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 11:08:55 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-23 11:08:55 +0100 |
commit | 1891d9fdf109920b4bfa73001e6c17cf512f1900 (patch) | |
tree | 97480eaec0d058b25a034f16795a6d11f1f646da /servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl | |
parent | 37205964b61c4b6d23379a585591009cbddfa6f3 (diff) | |
parent | 5b1df48c6c62e2ddc6492d4c210b3281f87b4031 (diff) |
Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-US
Convert en_GB spelling to en_US with codespell
Diffstat (limited to 'servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl')
-rw-r--r-- | servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl b/servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl index 47c56571f6..f48e6c4341 100644 --- a/servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl +++ b/servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl @@ -124,14 +124,14 @@ void main() { vec2 uv = (vec2(gl_GlobalInvocationID.xy) + vec2(0.5, 0.5)) * params.half_screen_pixel_size; - vec4 centre = textureLod(source_ssil, uv, 0.0); + vec4 center = textureLod(source_ssil, uv, 0.0); vec4 value = textureLod(source_ssil, vec2(uv + vec2(-half_pixel.x * 3, -half_pixel.y)), 0.0) * 0.2; value += textureLod(source_ssil, vec2(uv + vec2(+half_pixel.x, -half_pixel.y * 3)), 0.0) * 0.2; value += textureLod(source_ssil, vec2(uv + vec2(-half_pixel.x, +half_pixel.y * 3)), 0.0) * 0.2; value += textureLod(source_ssil, vec2(uv + vec2(+half_pixel.x * 3, +half_pixel.y)), 0.0) * 0.2; - vec4 sampled = value + centre * 0.2; + vec4 sampled = value + center * 0.2; #else #ifdef MODE_SMART |