~ubuntu-branches/ubuntu/oneiric/mesa-demos/oneiric

« back to all changes in this revision

Viewing changes to src/glsl/multitex.vert

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2010-09-27 16:18:27 UTC
  • Revision ID: james.westby@ubuntu.com-20100927161827-1yfgolc1oy9sjhi8
Tags: upstream-8.0.1
ImportĀ upstreamĀ versionĀ 8.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Multi-texture vertex shader
 
2
// Brian Paul
 
3
 
 
4
 
 
5
attribute vec4 TexCoord0, TexCoord1;
 
6
attribute vec4 VertCoord;
 
7
 
 
8
void main() 
 
9
{
 
10
   gl_TexCoord[0] = TexCoord0;
 
11
   gl_TexCoord[1] = TexCoord1;
 
12
   // note: may use gl_Vertex or VertCoord here for testing:
 
13
   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
 
14
}