Search Unity

Camera rendering

Discussion in 'Multiplayer' started by rmele09, Mar 21, 2015.

  1. rmele09

    rmele09

    Joined:
    Nov 8, 2010
    Posts:
    716
    Is there a way to directly control what each player's camera in a scene can render? I need it to be object specific, not layers. So as of right now I have been turning the renderer off on the object, but that isn't going to work because different camera see different things. How can I control what specific objects each camera can see?
    **This thread was created twice in the same place I don't know why**
     
  2. DizzyTornado

    DizzyTornado

    Joined:
    Nov 17, 2013
    Posts:
    134
    I would recommend layers, or just using an image effect that masks everything except for an object selected as a public variable.
     
  3. rmele09

    rmele09

    Joined:
    Nov 8, 2010
    Posts:
    716
    Yea I am going to give layers a shot. After looking through the API I see now that you can re-assign layers by script which I think will work in my case. Thanks for the response!