source:
trunk/src/opengl/util/painter_nomask.glsl@
5
| Last change on this file since 5 was 2, checked in by , 17 years ago | |
|---|---|
| File size: 191 bytes | |
| Line | |
|---|---|
| 1 | uniform sampler2D dst_texture; |
| 2 | uniform vec2 inv_dst_size; |
| 3 | |
| 4 | void main() |
| 5 | { |
| 6 | vec4 dst = texture2D(dst_texture, gl_FragCoord.xy * inv_dst_size); |
| 7 | |
| 8 | gl_FragColor = composite(brush(), dst); |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
