Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/GLSL150/GrassAmbientFp.glsl @ 12373

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

Changed folder structure, deletet some unused files and cleaned up code

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.