Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL/DiffuseOneTexture.glsl @ 12083

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

Reorganised shader programs

File size: 226 bytes
Line 
1#version 120
2
3uniform sampler2D texMap;
4
5varying vec4 colour;
6varying vec4 uv;
7
8/*
9  Basic fragment program using texture and diffuse colour.
10*/
11void main()
12{
13        gl_FragColor = texture2D(texMap, uv.xy) * colour;
14}
Note: See TracBrowser for help on using the repository browser.