Please tell VertexShader Error Solution
问题 Students that use OpenGL. Do not speak English well. So please understand. There is currently a problem #version 400 layout (location = 0) in vec3 VertexPosition; layout (location = 1) in vec3 VertexNormal; layout (location = 2) in mat4 instance_ModelMatrix [3]; The VertexShader Code. Code above , but it is run layout (location = 2) in mat4 instance_ModelMatrix [3]; -> layout (location = 2) in mat4 instance_ModelMatrix [4]; With this changing run Attribute instance_ModelMatrix is a matrix