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

gpu_shader_2D_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: 3e1ac8c976115b21c9560370f903f7f57e73c73e (plain)
1
2
3
4
5
6
7

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