REVIEWED: DrawMesh() #2511
Disable color vertex attribute if not provided by mesh
This commit is contained in:
parent
850321cf2b
commit
c6c71fe73c
1 changed files with 77 additions and 55 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue