I’m trying to implement a “fog of war” feature for my game.
I found I nice playground example: credit for aWeirdo.
Initially it runs fine, but the fps starts to drop after running the example for a couple of minutes.
After around 10 mins it runs only 30 fps.
Do you have an idea what can cause the performance drop?
Here is the playground example: https://playground.babylonjs.com/#S3U25D#3