Using Slate to draw a Grid Pattern to Screen - Any tips for faster line rendering?

Hi TheJamsh,

As others have suggested, doing it as a mesh is going to result in a much faster render than a bunch of individual line draw calls, and you’ll be able to do fancier materials than you’d be able to do with slate line draws (think like a periodic ‘tracking’ pulse, etc…). However, I’d first suggest moving it into C++ and see where that gets you. Doing ~50x50 lines per frame in Blueprints is going to burn a huge amount of time just in the VM, which if it’s a part of a UMG widget will still show up as ‘slate’ time (there are lots of other little benefits you can do in C++ like not emptying the array, just resetting it to avoid extra memory allocations and resize copies as the array grows also).

Cheers,
Michael Noland