This is the third episode of the "Unreal Engine Adventure" tutorial series I am doing. This series is inspired by games like Heavy Rain or Detroit Become human. These are more like interactive stories where the player choices of player will have a permanent impact on the gameplay. In this episode, I am going to implement a focus mode. When the focus button is clicked, the world will be grayed out/ darkened and the important objects that are relevant to the gameplay such as interactable items, doors will be highlighted. As the player release the focus button, this effect will be faded away. This same mechanism can be seen in various games under different names. For example, batman detective mode, assassins' creed eagle vision, etc. The effect will be implemented using unreal engine post process materials and custom depth rendering.
password=codelikeme_focus