/* If you don't need the color attributes, use void main(void) to make your shader more efficient. */ void main(inout vec4 ambient, inout vec4 diffuse, inout vec4 specular) { // diffuse = vBaseColor; }