Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/GLSL150/EmbossedFp.glsl @ 12206

Last change on this file since 12206 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
3uniform sampler2D RT;
4in vec2 oUv0;
5out vec4 fragColour;
6
7void 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.