- Home /
Question by
Corentin_Fousset-Martial · Apr 27, 2019 at 06:19 PM ·
cameramultiplayerrenderinglayersculling
Dynamically render/hide object individually for each camera in scene
I have a scene with 4 character controller Objects (4 capsules equiped with one camera each) and each one has a character animated model attached to. I wanted to hide character 1 from being rendered by camera 1, character 2 by camerz 2, etc.. I know about layers but I don't want to multiply them just for that. Is there another way, like adding a function on a OnPreRender() to not render a specified object ?
Comment
Your answer
Follow this Question
Related Questions
Render tooltip on top of everything with MRTK 0 Answers
How do I get my camera to render 2 culling masks in scripts? 2 Answers
Render an object or texture only near camera 0 Answers
Approach(es) to remove solid color background 1 Answer
3D Objects are not being in their regular shape at distance 2 Answers