Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders. 1st installment.

Shader: flat - Default bed

(cherry picked from commit prusa3d/PrusaSlicer@a5ff37013b)
This commit is contained in:
enricoturri1966 2023-10-23 22:47:07 +08:00 committed by Noisyfox
parent 5fc056edfb
commit 9f4713eee8
6 changed files with 77 additions and 14 deletions

View file

@ -0,0 +1,10 @@
#version 110
attribute vec3 v_position;
uniform mat4 projection_view_model_matrix;
void main()
{
gl_Position = projection_view_model_matrix * vec4(v_position, 1.0);
}