Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Reorganised shader programs

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