- Home /
Question by
WobblyOne · Jul 22, 2020 at 01:44 AM ·
maskingmultiple camerasline of sight
How to apply a mask to a camera to create a line of sight effect
In my scene I have three cameras.
Cam1 : renders everything except Layer: Entity
Cam2: Renders only Entities
Cam3: has a overly intense light creating a black and white image of the players line of sight
Cam1 and 2 render onto the same display (display1) but I would like to use Cam3 (display2) as a mask on cam2 so when an entity is out of the line of sight, it is not shown but the environment is.
Is this an efficient way of achieving this? and how Do I apply the mask?
2020-07-22-10-45-5100-00-04-01s2till003.jpg
(109.6 kB)
2020-07-22-10-45-5100-00-02-26still004.jpg
(106.0 kB)
Comment