Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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