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

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

uniform mat4 ModelViewProjectionMatrix;

#if __VERSION__ == 120
  varying vec4 v_position;
#else
  out vec4 v_position;
#endif

void main()
{
	gl_Position = ModelViewProjectionMatrix * gl_Vertex;
	v_position = gl_Position;
}