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: 4049171f73d1b591216bc9e73cab56d9fb74c714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

uniform mat4 ModelViewProjectionMatrix;

#if __VERSION__ == 120
  attribute vec2 pos;
#else
  in vec2 pos;
#endif

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