Relative Content

Tag Archive for unreal-engine5materials

Trying to offset camera position in material function

I am working on a camera occlusion mask for my top-down shooter game. The camera is not directly over the player, but instead is at about a 45 degree angle behind the player. In creating my occlusion mask, I got the mask to appear directly below the camera, but since the player is in front of the camera a bit the occlusion occurs behind him (so you can’t see the character).