Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSLES/AmbientOneTexture.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: 296 bytes
Line 
1#version 100
2
3precision mediump int;
4precision mediump float;
5
6uniform vec4 ambient;
7uniform mat4 worldViewProj;
8
9attribute vec4 position;
10
11varying vec4 colour;
12
13/*
14  Basic ambient lighting vertex program for GLSL ES
15*/
16void main()
17{
18        gl_Position = worldViewProj * position;
19        colour = ambient;
20}
Note: See TracBrowser for help on using the repository browser.