Corrected some issues on game
Now it works! :)
This commit is contained in:
parent
9668f546d3
commit
61b0ab5332
1 changed files with 7 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ attribute vec2 vertexTexCoord;
|
|||
attribute vec4 vertexColor;
|
||||
|
||||
// Input uniform values
|
||||
uniform mat4 mvpMatrix;
|
||||
uniform mat4 mvp;
|
||||
|
||||
// Output vertex attributes (to fragment shader)
|
||||
varying vec2 fragTexCoord;
|
||||
|
|
@ -21,5 +21,5 @@ void main()
|
|||
fragColor = vertexColor;
|
||||
|
||||
// Calculate final vertex position
|
||||
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
|
||||
gl_Position = mvp*vec4(vertexPosition, 1.0);
|
||||
}
|
||||
Loading…
Reference in a new issue