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

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

uniform mat4 ModelViewProjectionMatrix;

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

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