Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/Shader_HS18/programs/Example/GLSL150/AmbientOneTexture.glsl @ 12083

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

Reorganised shader programs

File size: 250 bytes
Line 
1#version 150
2
3uniform vec4 ambient;
4uniform mat4 worldViewProj;
5
6in vec4 position;
7
8out vec4 colour;
9
10/*
11  Basic ambient lighting vertex program for GLSL
12*/
13void main()
14{
15        gl_Position = worldViewProj * position;
16        colour = ambient;
17}
Note: See TracBrowser for help on using the repository browser.