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

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

void main()
{
  gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
#ifndef UNIFORM
  interp.color = color;
#endif
#ifdef CLIP
  interp.clip = dot(ModelMatrix * vec4(pos, 1.0), ClipPlane);
#endif
}