Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Default Scene View Light

Discussion in 'Editor & General Support' started by Harry Tuttle, Oct 14, 2008.

  1. Harry Tuttle

    Harry Tuttle

    Joined:
    Jan 3, 2006
    Posts:
    122
    Just out of interest; can anyone tell me what the settings of the default scene view light are?

    E.g. it's position, colour, intensity, range etc.
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,589
    It's a directional light that is "parented" to the camera (basically, looks the same way as the camera). I think it's 0.75 intensity gray color.
     
  3. Harry Tuttle

    Harry Tuttle

    Joined:
    Jan 3, 2006
    Posts:
    122
    Thanks Aras,

    I'll try and pin it down to an exact colour - you wouldn't happen to know what the Ambient Light setting is for the default view too?
     
  4. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
    Sorry, but can't you just look that up yourself? :p

    Open Unity, make new project, check ambient light settings... (51,51,51).
     
  5. Harry Tuttle

    Harry Tuttle

    Joined:
    Jan 3, 2006
    Posts:
    122
    The Ambient Light setting doesn't affect the Scene View when the default light is on and there are no other lights in the scene.

    I'm trying to get the Game view to match the Scene View when the only light being used is the default scene view light.

    The first attachment shows a scene view and game view with no lights on (the default light is off too) and the same Ambient Light setting - the game view appears lighter.

    The second attachment is my best try so far. As I said above the default light is on in the scene view and changing the Ambient Light has no effect so all I can play with is the light settings.

    Maybe this is a bug, or have I been drinking too much coffee?
     

    Attached Files:

  6. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
    Ahh, there you go then. Sorry 'bout that. :p :)


    I don't know myself. I mean, how much coffee have you had? Ok, no no, clearly those are different and I don't know precisely why or what the ambient light in the Scene view is.
     
  7. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,589
    Ok, right now (Unity 2.1) the default scene view lighting setup:

    One directional light, looking the same direction as camera (easiest is just to attach light component to your camera). Color is 100/255 for each component (R,G,B). Ambient light is 0.2 for each component (R,G,B).

    However: that setup is subject to change at any time.
     
  8. Harry Tuttle

    Harry Tuttle

    Joined:
    Jan 3, 2006
    Posts:
    122
    Hi Aras

    Thanks for that info. I understand the settings may change and this is not problem (this started only as a curious investigation because I liked the lighting in the scene view).

    However, I would like to understand the reasons for a lighter game view in the first picture given that all lights (default or otherwise) are off and the ambient light is the same.

    Thanks.
     
  9. zero_null

    zero_null

    Joined:
    Mar 11, 2014
    Posts:
    159
    hello in Unity 5.6 how to do this ????
    Ambient light is no more. I know I am waking souls as this thread is about 10 years old.
     
    Lohoris2 likes this.
  10. Elecman

    Elecman

    Joined:
    May 5, 2011
    Posts:
    1,341
    Same question here.
     
unityunity