source: trunk/src/opengl/util/ellipse_aa_copy.glsl@ 240

Last change on this file since 240 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 232 bytes
Line 
1uniform vec2 r; // r_x and r_y
2
3uniform sampler2D texture;
4uniform vec2 inv_texture_size;
5
6#include "ellipse_functions.glsl"
7
8void main()
9{
10 gl_FragColor = ellipse_aa() * texture2D(texture, gl_FragCoord.xy * inv_texture_size);
11}
Note: See TracBrowser for help on using the repository browser.