REVIEWED: DrawMesh() #2511

Disable color vertex attribute if not provided by mesh
This commit is contained in:
Ray
2022-07-04 17:47:47 +02:00
parent 850321cf2b
commit c6c71fe73c
4 changed files with 75 additions and 53 deletions

View File

@ -3,7 +3,7 @@
// Input vertex attributes (from vertex shader)
in vec3 fragPosition;
in vec2 fragTexCoord;
in vec4 fragColor;
//in vec4 fragColor;
in vec3 fragNormal;
// Input uniform values