Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL150/GrassAmbientFp.glsl @ 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: 235 bytes
Line 
1#version 150
2
3uniform sampler2D diffuseMap;
4
5in vec4 oUv0;
6in vec4 oColour;
7
8out vec4 fragColour;
9
10/// grass_vp ambient
11void main()
12{       
13    vec4 texColor = texture(diffuseMap, oUv0.xy);
14    fragColour = vec4(oColour.rgb, texColor.a);
15}
Note: See TracBrowser for help on using the repository browser.