Re: [Solved!] Shadow raycast polygon fail (Help!)
Posted: Fri Nov 11, 2016 10:01 am
Polygons are rendered as triangle fans. Hence it has to be convex (there's no guarantee that concave fan won't intersect itself) and simple (edges can't intersect) - if you draw a regular polygon with it. If you use it to draw a triangle fan, then regular triangle fan rendering rules apply - it simply shouldn't bend inwards or outwards on the corners beyond 90 degrees.