Download: Just drag and drop the folder into your 'Unreal Project>Content' folder.
- The glass you want to apply the material to needs to be centred on the UV 1-1 space. If it's not directly in the centre then the sight will be offset. So just give the glass element its own material/textureset for painter and slap it on its own UV sheet. The proportions and size don't really matter, it doesn't have to use up the entire UV space, just keep it centred.
- If you set the distance hologram too far, it'll basically make the sight appear orthographic. So if you pan your camera around, it'll just move along with your camera.
- Make sure the distance is a negative value.
Big ol' ramble:
I was really scratching my head over how these holographic sights actually work, but I came to a conclusion based on the videos I saw, mainly this wiki article and this video:
https://en.wikipedia.org/wiki/Talk%3ARe ... allax_free
Looks like the holo sight isn't perfect, it has a distance at which it's optimal at and aiming it at something closer or further than that will make the hologram deviate from where the gun is actually pointing.
This material is basically the same thing as other people have shared online, but unlike the others I could find I added a distance variable and a scale variable for the hologram.