diff options
| author | Felix Dick <felix.dick@web.de> | 2022-09-25 20:07:48 +0200 |
|---|---|---|
| committer | Felix Dick <felix.dick@web.de> | 2022-09-25 20:07:48 +0200 |
| commit | bf3f519eb76bfa8d5f7d71f882b7b803c699aee1 (patch) | |
| tree | 77126f8d49917fc0bcd44af7859e88fb88d7bfaa /src/render/shaders/Textures.hpp | |
| parent | 190229942f60ea5b8905a673ddea44c05da14de3 (diff) | |
Remove trailing whitespace.
Diffstat (limited to 'src/render/shaders/Textures.hpp')
| -rw-r--r-- | src/render/shaders/Textures.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/shaders/Textures.hpp b/src/render/shaders/Textures.hpp index da02e51f..3ec099ab 100644 --- a/src/render/shaders/Textures.hpp +++ b/src/render/shaders/Textures.hpp @@ -267,7 +267,7 @@ void main() { pixColor[1] = pixColor[1] * tint[1]; pixColor[2] = pixColor[2] * tint[2]; } - + vec2 pixCoord = fullSize * v_texcoord; )#" + ROUNDED_SHADER_FUNC("pixColor") + @@ -310,7 +310,7 @@ void main() { vec2 uv = v_texcoord / 2.0; vec4 sum = texture2D(tex, uv + vec2(-halfpixel.x * 2.0, 0.0) * radius); - + sum += texture2D(tex, uv + vec2(-halfpixel.x, halfpixel.y) * radius) * 2.0; sum += texture2D(tex, uv + vec2(0.0, halfpixel.y * 2.0) * radius); sum += texture2D(tex, uv + vec2(halfpixel.x, halfpixel.y) * radius) * 2.0; |
