#Material
Name PureColor3D
Base Std3D

#MaterialInstance
Length 16
Stage  Fragment
Code
{
    vec4 Color;
}

#Vertex
Code
{
    void main()
    {
        HandoverMI();

        gl_Position=GetPosition3D();
    }
}

#Fragment
Output
{
    vec4 FragColor;
}

Code
{
    void main()
    {
        MaterialInstance mi=GetMI();

        FragColor=mi.Color;
    }
}
