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.
 
 
 
 
 
 

20 regels
348 B

#version 100
attribute vec3 vertexPosition;
attribute vec2 vertexTexCoord;
attribute vec3 vertexNormal;
varying vec2 fragTexCoord;
uniform mat4 mvpMatrix;
// NOTE: Add here your custom variables
void main()
{
vec3 normal = vertexNormal;
fragTexCoord = vertexTexCoord;
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
}