Hi guys,
I am wondering if somebody can help.
I've got a list of quads, few of them got a flag and in the pixel shader I need to be able
to colour the quad with a flag half red and half black (just two random colors).
Probably when I render I need to understand when I am in the middle of my quad
but I don't know how to do it.
cheers.



I've got only the vbo with vertex, normal and color.

