Post process effects for "X-Ray" vision
Hello, I am trying to achieve an "X-Ray" vision effect very similar to that of Hunt: Showdown's, as it is in this video:
Shortly, what I want is a darkening of the whole screen by a controllable amount and a visible post-process effect generated around objects with a certain tag (such a player pawns). How would you achieve this?
asked Apr 30 '19 at 01:27 PM in Using UE4
first open project settings and under Rendering: Change the Custom Depth Stencil Pass like so (in the picture)
secondly create a post process material like so:
and so (avoid flickering):
Alternatively you can switch off temporal aa or aa in common to avoid flickering.
After that create a common level with light, place in a cube and change the cube's settings like so:
In the Details Panel you can activate the Custom Depth Render Pass and you can use a Stencil Value. The Stencil Value works like a tag.
Follow this question
Once you sign in you will be able to subscribe for any updates here