Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_shader_2D_vert.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de6547715f37cef085238761a242d2ce8a177220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

uniform mat4 ModelViewProjectionMatrix;

#ifdef UV_POS
in vec2 u;
#  define pos u
#else
in vec2 pos;
#endif

void main()
{
  gl_Position = ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
}