Get the latest Blender, older versions, or experimental builds.
Stay up-to-date with the new features in the latest Blender releases.
Access production assets and knowledge from the open movies.
Documentation on the usage and features in Blender.
Latest development updates, by Blender developers.
Guidelines, release notes and development docs.
A platform to collect and share results of the Blender Benchmark.
The yearly event that brings the community together.
Support core development with a monthly contribution.
Perform a single donation with more payment options available.
#ifdef FLAT
flat in vec4 finalColor;
#else
in vec4 finalColor;
# ifdef EDGE
flat in int selectOveride;
# endif
#endif
out vec4 FragColor;
void main()
{
#if defined(EDGE) && !defined(FLAT)
vec4 prim_col = mix(colorEditMeshMiddle, colorEdgeSelect, finalColor.a);
prim_col = (selectOveride != 0) ? prim_col : finalColor;
prim_col.a = 1.0;
# define prim_col finalColor
FragColor = prim_col;
}