Download

Possible to make material that only renders vertices of a mesh?

In my continuing quest to implement my “LIDAR / Point Cloud” feature in UE4 (see: Trying to implement LIDAR / Point Cloud graphic features, new to UE4 and game engines - Rendering - Unreal Engine Forums AND Display ~100,000 "points" without destroying performance - Blueprint Visual Scripting - Unreal Engine Forums ), I’ve been brainstorming in what little free time I have these days on different approaches to realize this effect. I have an idea I’d like to try, but I don’t know if this is possible.

Is it possible to make a material in UE4 that just renders the vertices of a mesh as, say, a small square? For example, if I have a cube mesh (i.e. 8 vertices), I would want to see 8 small squares (all orthogonal to the screen) at each of the corners of the cube. Don’t want to see any edges, any textures, etc.

Is this possible in UE4?

You can convert positions of mesh vertices to color values, embed them in an image, and render a point cloud with gpu particles.