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

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;
}