diff options
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/circle_mask.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/circle_mask.glsl b/shaders/circle_mask.glsl index 367edbe..519cf15 100644 --- a/shaders/circle_mask.glsl +++ b/shaders/circle_mask.glsl @@ -10,7 +10,7 @@ vec4 circle(vec2 uv, vec2 pos, float rad, vec4 color) { void main() { vec2 uv = gl_TexCoord[0].xy * resolution; vec2 center = resolution * 0.5; - float radius = 0.5 * resolution.y - 1; + float radius = 0.5 * resolution.y - 1.0; vec4 texture_color = texture2D(texture, gl_TexCoord[0].xy); gl_FragColor = circle(uv, center, radius, texture_color); |