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

gpu_shader_3D_clipped_uniform_color_vert.glsl « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df1988bd85790e49c23d46ff81523df1ffdeb701 (plain)
1
2
3
4
5
6

void main()
{
  gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
  gl_ClipDistance[0] = dot(ModelMatrix * vec4(pos, 1.0), ClipPlane);
}