summaryrefslogtreecommitdiffstats
path: root/src/opengl/util/ellipse_aa_copy.glsl
blob: 5372f585eaba17f1955a0b4bc1ad240092c7d678 (plain)
1
2
3
4
5
6
7
8
9
10
11
uniform vec2 r; // r_x and r_y

uniform sampler2D texture;
uniform vec2 inv_texture_size;

#include "ellipse_functions.glsl"

void main()
{
    gl_FragColor = ellipse_aa() * texture2D(texture, gl_FragCoord.xy * inv_texture_size);
}