Special Thanks to Luoshuang (LSFW) , the creator of GPU Lightmass.
This is a short tutorial about how to use Geometry Shaders in UE5.
If you want to ask WHY (or you want to say GS’s performance is BAD), I think my answer is the same:
The community also shows interests about this topic:
To avoid duplication, this tutorial is based on my previous plugin : AddMeshPassPlugin
If you have not read yet, please check this tutorial first: Add a Mesh Pass without Touching Unreal Engine Source Code
Let’s say we want to create a wireframe shader
To do this, we can use a geometry shader.