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

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

uniform mat4 ModelViewProjectionMatrix;

in vec2 texCoord;
in vec3 pos;
out vec2 texCoord_interp;

void main()
{
  gl_Position = ModelViewProjectionMatrix * vec4(pos.xyz, 1.0f);
  texCoord_interp = texCoord;
}