material

Doom Glow in a vertex shader

  • Exposure: public
  • UE Version: 4.27

hollowdilnik

June 21, 2022, 12:10 pm

More info about this technique: https://hollowdilnik.com/2022/06/20/doom-glow.html

This requires a special generated mesh with some extra data baked in. You can find a rectangle mesh here: https://github.com/hollowdilnik/GlowingQuad/blob/main/Raw/GlowQuadMesh.fbx Make sure that after importing the mesh has 16 verts, faces up, is 1x1 meter in size, has its vertex colors and has UV0 and UV1 channels (In this version only UV1 is used in the shader for the rectangular mesh).

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v