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

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

void main()
{
  gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
  gl_PointSize = size;
  finalColor = color;
}