diff options
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; |
