Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

I need some step by step instructions on how to make my Skydome get behind every object in the scene

Discussion in 'Editor & General Support' started by the_Bad_Brad, Nov 6, 2014.

  1. the_Bad_Brad

    the_Bad_Brad

    Joined:
    Nov 2, 2014
    Posts:
    278
    I added distant mountains on my game to add more dept but the skydome blocks them all so i have to scale it up which makes it blurry.

    So how do I render it behind everything?

    I heard about using a second camera to render the skydome but how do I do that?
     
  2. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,680
    This is a very random question you have written.


    Figure out how you will scale everything so it is visually how you want it. Then when you create the art, insure that the same scales apply.
     
  3. Deleted User

    Deleted User

    Guest

    You parent your second camera to your first and set up the "depth", and "clear flags" properties. To understand what these properties do, ether play around or consult the manual http://docs.unity3d.com/Manual/class-Camera.html
     
  4. the_Bad_Brad

    the_Bad_Brad

    Joined:
    Nov 2, 2014
    Posts:
    278
    I did create 2 cameras and messed with layers, the culling mask and it worked!

    It even solved the fog problem.