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: 5119db2437cbe31011441a1e1947edf13cd5a6ae (plain)
1
2
3
4
5
6
7
8
9
10
11

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