Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/Combine_fp.glsles @ 12091

Last change on this file since 12091 was 12091, checked in by wiesep, 6 years ago

Updated programs and adjusted Material to work with GLSL>150

File size: 278 bytes
Line 
1#version 100
2precision mediump int;
3precision mediump float;
4
5uniform sampler2D RT;
6uniform sampler2D Sum;
7uniform float blur;
8
9varying vec2 uv0;
10
11void 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.