Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
This commit is contained in:
parent
4964d6ecd5
commit
76d1d4949b
69 changed files with 994 additions and 309 deletions
11
resources/shaders/140/flat.vs
Normal file
11
resources/shaders/140/flat.vs
Normal file
|
@ -0,0 +1,11 @@
|
|||
#version 140
|
||||
|
||||
uniform mat4 view_model_matrix;
|
||||
uniform mat4 projection_matrix;
|
||||
|
||||
in vec3 v_position;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue