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

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

#if __VERSION__ == 120
	attribute vec2 pos;
	attribute vec2 uvs;
	varying vec4 uvcoordsvar;
#else
	in vec2 pos;
	in vec2 uvs;
	out vec4 uvcoordsvar;
#endif

void main()
{
	uvcoordsvar = vec4(uvs, 0.0, 0.0);
	gl_Position = vec4(pos, 0.0, 1.0);
}