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

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

uniform mat4 ModelViewProjectionMatrix;

in vec3 pos;
in float edgeWidthModulator;

out vec4 pos_xformed;
out float widthModulator;

void main()
{
  pos_xformed = ModelViewProjectionMatrix * vec4(pos, 1.0);
  widthModulator = edgeWidthModulator;
}