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.
// TODO(merwin):
// - uniform color, not per vertex
// - generic attrib inputs (2D pos, tex coord)
#if __VERSION__ == 120
flat varying vec4 color;
noperspective varying vec2 texcoord;
#else
flat out vec4 color;
noperspective out vec2 texcoord;
#endif
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
color = gl_Color;
texcoord = gl_MultiTexCoord0.st;
}