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

I agree with TheJamsh, there must be a way of drawing lines in camera-space that is just as simple as drawing OpenGL/DirectX lines.

Drawing lines is a common feature of any graphics library and UE should have an easy way to do it together with a convenience method to do it in screen space, on a custom depth and hence away from clipping problems and ignoring post-process like AA, etc.

I’ve a method implemented with procedural meshes which draws on a custom depth with an unlit overlay material but it’s not fast enough since I can’t batch vertex/triangles data in my case.


This is the material I’m using for procedural meshes lines.

When I think about this functionality, Vectrosity for Unity comes to mind… Starscene Software - Unity Utilities - Vectrosity