Reviewed shaders and added comments
This commit is contained in:
parent
78b502b0bf
commit
1d545449bb
1 changed files with 234 additions and 124 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#version 330
|
||||
|
||||
in vec3 vertexPosition;
|
||||
in vec2 vertexTexCoord;
|
||||
in vec3 vertexNormal;
|
||||
in vec4 vertexColor;
|
||||
|
||||
out vec2 fragTexCoord;
|
||||
out vec4 fragTintColor;
|
||||
|
||||
uniform mat4 mvpMatrix;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
void main()
|
||||
{
|
||||
fragTexCoord = vertexTexCoord;
|
||||
fragTintColor = vertexColor;
|
||||
|
||||
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
|
||||
}
|
||||
Loading…
Reference in a new issue