Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

multitex.vert 310B

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