For those unaware, basically its a top down game where only line of sight is displayed. The areas that aren’t in sight are replaced with a blueprint texture of the level.
Is it possible to implement this in Unreal Engine?
Monaco does it by using a triangle fan linked to all edges from the location of the character. The fan is then used as a mask for the lighting.
Is it possible to create a triangle fan using the material system?
If not, the lighting system in Unreal Engine is amazing. Is it possible to set up a shader that can tell how well lit things are and make the mask based off of that. My thought there is the lighting system would handle line of sight, and this could be used to make the mask.