source:
trunk/src/opengl/util/ellipse_aa_copy.glsl@
240
Last change on this file since 240 was 2, checked in by , 16 years ago | |
---|---|
File size: 232 bytes |
Line | |
---|---|
1 | uniform vec2 r; // r_x and r_y |
2 | |
3 | uniform sampler2D texture; |
4 | uniform vec2 inv_texture_size; |
5 | |
6 | #include "ellipse_functions.glsl" |
7 | |
8 | void 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.