PrusaSlicer-NonPlainar/resources/shaders/ES/flat_texture.vs

16 lines
283 B
Plaintext
Raw Normal View History

2022-07-21 08:18:18 +00:00
#version 100
uniform mat4 view_model_matrix;
uniform mat4 projection_matrix;
attribute vec3 v_position;
attribute vec2 v_tex_coord;
varying vec2 tex_coord;
void main()
{
tex_coord = v_tex_coord;
gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
}