source:
data/branches/Shader_HS18/programs/Example/GLSLES/InvertFP.glsles
@
12091
Last change on this file since 12091 was 12091, checked in by wiesep, 5 years ago | |
---|---|
File size: 184 bytes |
Line | |
---|---|
1 | #version 100 |
2 | |
3 | precision mediump int; |
4 | precision mediump float; |
5 | |
6 | uniform sampler2D RT; |
7 | varying vec2 oUv0; |
8 | //varying vec2 uv1; |
9 | |
10 | void main() |
11 | { |
12 | gl_FragColor = 1.0 - texture2D(RT, oUv0); |
13 | } |
Note: See TracBrowser
for help on using the repository browser.