Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Question about lighting and atmosphere in unity


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 GraphicsNoob   Members   -  Reputation: 116

Like
0Likes
Like

Posted 19 March 2013 - 08:41 AM

Hi all.

 

Im wondering if its possible to provide different lighting and atmosphere to different part of a scene..

 

I want to make a scene where one place is a bright and sunny elf village and after moving down the road,you enter a dark and gloomy forest..Right now the sun in my scene seems to make everything sunny and cheerful including the forest..Is there any way to accomplish this ? Or is the only solution to load another scene for the forest ?

Im just starting out with a month of experience in unity .

Thank you



Sponsor:

#2 olgo   Members   -  Reputation: 118

Like
0Likes
Like

Posted 19 March 2013 - 11:13 AM

Hi,

 

  I've only been using unity for 8 months or so, but  I have one idea off the top of my head.  

 

You could set up a SphereCollider or BoxCollider with isTrigger = true.  Have it encompass the areas of the game that have mood lightings associated with them.  In your OnTriggerEnter function, if Collider.other = player, manipulate your directional light gameobject accordingly.  Adjust the intensity of the light, maybe change the color, angle etc.

 

Make sense?






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS