So, we’re trying to utilize the Heatmap plugin, but generating our own heat maps at run time with our data. We’ve been able to generate heat maps using the HeatmapMeshRenderer, but run-time performance rapidly goes to a halt (~2 fps) as we get close to / above 2k points. Most of this performance hit is stemming from the camera renderer drawing transparent geometry.
However, from the screenshots in the wiki section of the Heatmap BitBucket repo, Unity has been able to demonstrate that it’s capable of handling way more than the current upper limit that we’re experiencing. For example, in one screenshot there is a heatmap of over 57k points and rendering 7k of them. This is a stark contrast to our “safe” limit of 1k points currently.
My question is what are we doing wrong with generating a heatmap where we’re seeing this CPU rendering issue? I’ve included a very bare bones example script of how we’re using the HeatmapMeshRenderer for generating a heat map.
2412320–164921–HeatMapScript.cs (1.9 KB)