Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How To Use 2 Camera's To Render Different Layers

Discussion in 'Getting Started' started by fineleric9x, Apr 25, 2018.

  1. fineleric9x

    fineleric9x

    Joined:
    Apr 25, 2018
    Posts:
    1
    Hi
    iI want to have these mountains always showing in game but they are very far off and dont want to have my main camera viewing set so far. So i added another camera made a new layer "mountain" and assigned that layer to the mountains and set culling to mountain layer only. changed the depth of the camera main=2 and mountain cam=1 but the mountains never show up at run time but i can see in scene view that the mountain camera is picking it up
     
    lreddy2019 likes this.
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    You need to set your foreground camera to "Don't Clear".
     
    lreddy2019 likes this.
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,954
    Best and funniest spambot yet, and I just realized it's been sitting here for more than a year and a half so it's a successful spambot too.
     
    lreddy2019 likes this.
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    The scary thing is, the original message I replied to was not spam. It was an apparently legitimate question, which was later changed to spam.

    But I reported it this morning anyway. :)
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Reverted, and banned.

    --Eric
     
    JoeStrout likes this.