say I have a triangle with different colors on every vertex, smooth-shaded, and I want it to also work with lightning - how is it done? I don’t want to use a shadow-map etc…
jonn
say I have a triangle with different colors on every vertex, smooth-shaded, and I want it to also work with lightning - how is it done? I don’t want to use a shadow-map etc…
jonn
Just change your material parameters at each vertex.
yes, thanks… glEnable(GL_COLOR_MATERIAL) was what I was missing
Can I display semi transparent polygon in PseudoColor?