Last change
on this file since 12181 was
12115,
checked in by wiesep, 6 years ago
|
Changed folder structure, deletet some unused files and cleaned up code
|
File size:
317 bytes
|
Line | |
---|
1 | #version 150 |
---|
2 | |
---|
3 | uniform sampler2D RT; |
---|
4 | in vec2 oUv0; |
---|
5 | out vec4 fragColour; |
---|
6 | |
---|
7 | void main() |
---|
8 | { |
---|
9 | vec4 Color; |
---|
10 | Color.a = 1.0; |
---|
11 | Color.rgb = vec3(0.5); |
---|
12 | Color -= texture( RT, oUv0 - 0.001)*2.0; |
---|
13 | Color += texture( RT, oUv0 + 0.001)*2.0; |
---|
14 | Color.rgb = vec3((Color.r+Color.g+Color.b)/3.0); |
---|
15 | fragColour = Color; |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.