Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Updated programs and adjusted Material to work with GLSL>150

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