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: 71a43d1b7ae5c06704030c07a29486dbfc8f06b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

//mat4 ModelViewProjectionMatrix;

in vec3 pos;
in float edgeWidthModulator;

out vec4 pos_xformed;
out float widthModulator;

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