Holographic Weaponsight using BumpOffset

As a small personal experiment I built a holographic weapon sight in Unreal Engine 4 a while back. Some people were wondering how it was made and it is really quite simple – it all relies on the BumpOffset-node. The material is available for download at the bottom of this page!

To find out more on BumpOffset, the official documentation has some info on How to use Bump Offset. To achieve this effect  I sample a texture once for every row of lines, they will all be rendered with a different (incrementally higher) BumpOffset applied.

The material for the 3rd-person survival project:

holosight_thirdperson

Impression of the material’s complexity

holosight_mat_overview

Download
Holographic Weaponsight Material

Package contains two materials with BumpOffset. The first shows the simplest implementation of a single crosshair. The second is a multi-line crosshair with incremental bump applied on each subsequent line.

Use this material as you wish in your UE4 project! If you have another neat trick with BumpOffset, let me know the comment section!

8 Comments

    • Could be done using 3D Widgets too yeah. Have not worked with that, for more advanced and functional sights I would probably try that instead.

  1. I just started with it, it’s just I’m still struggling on how to apply them to the “prototype weapons and prototype characters” packages as I can’t alter the weapons itself (no fbx files?)

    • You could export them to FBX through the context browser. Having the work files w/ the purchase would be great though

      – Tom

  2. I have tried that but 3dmax crashes when trying to open the fbx files, same happens with the prototype characters (could be something @ my end)

    • I don’t have Max to try this out myself. The crashlog might tell you more on which side your problem is. Or you could contact the product owners and ask for the source, I’ve received that before with animation products I bought.

Comments are closed.