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

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

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

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