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

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

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

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

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