Commit bc5ff7e1 authored by Martin Schultz's avatar Martin Schultz

added vertex and fragment shaders for picking which render vertex

colors from input attributes to screen. if the shaderCache would have a
good interface, this would not have been necessary
parent 2b6a6259
void main()
{
outFragment = outVertexColor;
}
uniform mat4 mWVP;
void main()
{
gl_Position = mWVP * vec4(inPosition.xyz, 1);
outVertexColor = inColor;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment