PDA

View Full Version : concave polygon shading.



dmantamp
03-07-2004, 11:50 PM
Hi All,
I knew that GL_POLYGON, is undefined for concave polygones. Is there anyway to shade a concave polygon or any type of polygon?

Regards
Deek**** M

dorbie
03-09-2004, 12:43 PM
To shade concave polygons you must either split the polygon yourself into convex parts or use something like the somewhat impractical stencil buffer approaches described online to draw the concave polygon by a more brute force means.