source:
data/data_extern/programs/GLSL150/Combine_fp.glsl
@
12323
Last change on this file since 12323 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 246 bytes |
Line | |
---|---|
1 | #version 150 |
2 | |
3 | uniform sampler2D RT; |
4 | uniform sampler2D Sum; |
5 | uniform float blur; |
6 | |
7 | in vec2 oUv0; |
8 | out vec4 fragColour; |
9 | |
10 | void main() |
11 | { |
12 | vec4 render = texture(RT, oUv0); |
13 | vec4 sum = texture(Sum, oUv0); |
14 | |
15 | fragColour = mix(render, sum, blur); |
16 | } |
Note: See TracBrowser
for help on using the repository browser.