Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.

Shader: background
This commit is contained in:
enricoturri1966 2022-03-04 13:30:21 +01:00
parent 191222c3a8
commit b84b6af32a
3 changed files with 25 additions and 3 deletions

View file

@ -0,0 +1,12 @@
#version 110
attribute vec3 v_position;
attribute vec2 v_tex_coord;
varying vec2 tex_coord;
void main()
{
tex_coord = v_tex_coord;
gl_Position = vec4(v_position, 1.0);
}