OpenMotionLab/MotionGPT
118
1#version 330 core2layout(location = 0) in vec3 position;3layout(location = INST_M_LOC) in mat4 inst_m;4 5uniform mat4 P;6uniform mat4 V;7uniform mat4 M;8 9void main()10{11 mat4 light_matrix = P * V;12 gl_Position = light_matrix * M * inst_m * vec4(position, 1.0);13}14 15 