mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-07-29 17:02:06 +08:00

jira: none Change-Id: I3d5888480ad033953a597a6f74b0b9c8ac47795e (cherry picked from commit 7fa3cb3d6224bab6ef6d8ad75446ed1b460afd4e)
13 lines
267 B
GLSL
13 lines
267 B
GLSL
#version 110
|
|
|
|
uniform mat4 view_matrix;
|
|
uniform mat4 projection_matrix;
|
|
|
|
attribute vec3 v_position;
|
|
attribute vec2 v_undefine;
|
|
attribute mat4 instanceMatrix;
|
|
void main()
|
|
{
|
|
gl_Position = projection_matrix * view_matrix * instanceMatrix * vec4(v_position, 1.0);
|
|
}
|