I'm in the process of implementing a lighting engine, and I've been struggling with the polygon drawing. Currently, I'm using TriangleFan to connect the points that my raycasting algorithm has come in contact with, but I wish to achieve the opposite effect where everything except where the triangle fan is drawn is black and the play would have a limited view of their surroundings.
Is there a shape that could easily accomplish this?