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

Shader: flat - Default bed
This commit is contained in:
enricoturri1966 2022-02-28 10:41:01 +01:00
parent 2379588196
commit a5ff37013b
6 changed files with 105 additions and 13 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);
}