Hi everyone, I'm trying to create a map reveal with a fog of war style but I wanted it to look similar to Noita's (https://www.youtube.com/watch?v=9nXx_1GZclc&t=1407s).
I'm looking for something that gradually reveals the areas where the player has Line of Sight to, but I want to be able to control the opacity and the time to reveal it depending on how long the player had that are within their Line of Sight, again, like the video above.
However, I'm talking about a bigger map with a Full HD resolution.
I've tried different approaches in the past using tilemaps as a mask that shows the tile the player has had line of sight to and using this mask with a destination out effect pasting it to a Drawing Canvas that was initially all black.
If I use only an object pinned with the destination out effect over the mask it allows for the player to see behind walls if they get close to them, which is not what I'm looking for.
The test file I've attached doesn't have the blurred effect I'm trying to achieve and it also has issues in performance for bigger maps/layouts, and if the Line of Sight distance is increased (which means that more checks for the tiles are done each cycle). It also pushes the GPU to 80% sometimes.
Does anyone have any suggestions on different approaches to achieve the type of map reveal I'm going for, let's say, if you were trying to do the same one in the video but for big Full HD maps, without compromising performance?
https://www.dropbox.com/s/mczodui84t0un2b/MapRevealTest11.c3p?dl=0