source:
data/branches/Shader_HS18/programs/GLSL150/InvertFP.glsl
@
12292
| Last change on this file since 12292 was 12115, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 141 bytes | |
| Rev | Line | |
|---|---|---|
| [12115] | 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.










