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.

11 lines
297 B

  1. #ifdef GL_ES
  2. precision mediump float;
  3. #endif;
  4. attribute vec4 position;
  5. attribute vec4 texcoord;
  6. attribute vec2 normal;
  7. uniform mat4 ModelMatrix;
  8. uniform mat4 ViewMatrix;
  9. uniform mat4 ProjectionMatrix;
  10. void main(){
  11. gl_Position = ProjectionMatrix * ViewMatrix * ModelMatrix * position;
  12. }