Best way to sync cameras matrices with another?

Hi!

I want to use layer masks to make an object visible in a mirror texture, but not visible by the active camera of the scene. Therefore, I want to create a second camera which uses always the same projection matrix and view/world-matrix like the ones of the active scene camera and set this camera as active camera of the mirror texture (so that I can define the layer mask of this camera).

What is the best way to ensure that the second camera always has the same projection and view matrix like the first one? Is there a simple function to sync a camera with another?

Hey!

you can just make the 2nd camera child of the first one

1 Like

Sometimes things can be so simple… Worked, thanks!

1 Like