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

armature_wire_frag.glsl « shaders « overlay « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9413ac0f365e5378a4e5145cf292301b2f28822b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

flat in vec4 finalColor;
flat in vec2 edgeStart;
noperspective in vec2 edgePos;

layout(location = 0) out vec4 fragColor;
layout(location = 1) out vec4 lineOutput;

void main()
{
  lineOutput = pack_line_data(gl_FragCoord.xy, edgeStart, edgePos);
  fragColor = finalColor;
}