|
Last change
on this file since 12091 was
12091,
checked in by wiesep, 7 years ago
|
|
Updated programs and adjusted Material to work with GLSL>150
|
|
File size:
278 bytes
|
| Line | |
|---|
| 1 | #version 100 |
|---|
| 2 | precision mediump int; |
|---|
| 3 | precision mediump float; |
|---|
| 4 | |
|---|
| 5 | uniform sampler2D RT; |
|---|
| 6 | uniform sampler2D Sum; |
|---|
| 7 | uniform float blur; |
|---|
| 8 | |
|---|
| 9 | varying vec2 uv0; |
|---|
| 10 | |
|---|
| 11 | void main() |
|---|
| 12 | { |
|---|
| 13 | vec4 render = texture2D(RT, uv0); |
|---|
| 14 | vec4 sum = texture2D(Sum, uv0); |
|---|
| 15 | |
|---|
| 16 | gl_FragColor = mix(render, sum, blur); |
|---|
| 17 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.