Bug Fixes
This commit is contained in:
parent
9124915237
commit
18bb7ab823
13 changed files with 469 additions and 272 deletions
|
@ -3,13 +3,11 @@
|
|||
uniform sampler2D materialTex;
|
||||
uniform vec4 color;
|
||||
|
||||
|
||||
in vec2 fragTexCoord;
|
||||
in vec3 fragVert;
|
||||
|
||||
out vec4 finalColor;
|
||||
|
||||
void main() {
|
||||
|
||||
finalColor = texture(materialTex, fragTexCoord) * color;
|
||||
}
|
|
@ -14,7 +14,6 @@ void main() {
|
|||
// Pass some variables to the fragment shader
|
||||
fragTexCoord = vertTexCoord;
|
||||
fragVert = vert;
|
||||
fragColor = vertColor;
|
||||
|
||||
// Apply all matrix transformations to vert
|
||||
gl_Position = projection * camera * transform * vec4(vert, 1);
|
||||
|
|
Reference in a new issue