source:
data/branches/Shader_HS18/programs/Example/GLSL150/InvertFP.glsl
@
12091
| Last change on this file since 12091 was 12091, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 141 bytes | |
| Line | |
|---|---|
| 1 | #version 150 |
| 2 | |
| 3 | uniform sampler2D RT; |
| 4 | in vec2 oUv0; |
| 5 | in vec2 oUv1; |
| 6 | out vec4 fragColour; |
| 7 | |
| 8 | void main() |
| 9 | { |
| 10 | fragColour = 1.0 - texture(RT, oUv0); |
| 11 | } |
Note: See TracBrowser
for help on using the repository browser.










