Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
23
Question by SrBilyon · Dec 31, 2010 at 01:14 PM · lightinglightmappingbakesetupshading

Creating Mood and 'Atmosphere' with lighting in Unity?

Hello, I was wondering if someone could help me out here. I am looking to learn different techniques for lighting/lamp setups, lightmapping or camera usage that I could use to create a somewhat dynamic feel of mood for a game. Do believe that texture style adds to this, or are there different real life lighting styles that game artists/3D artists/film directors, etc use? I'm a photographer myself, so I can only go by my own eye with light setups.

Examples:

Day - Evening - Night

Moonlit Scenes

Caves

Dungeons

Water Scene: Underwater or like a water dungeon

Fantasy

Houses/Basic Indoor

Fog Volumes: Like the ones in UDK

I am surprised for I can't really find anything out in the forums or here that really discusses lighting setups and really different ways to use the BEAST lightmapper (which I have started to learn/use a bit).

Does anyone know of any resources, links or advise in this area (that are Unity Indie Friendly)? And for any examples, an image would be nice! Thanks in advance!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 12:38 AM 0
Share

Anyone care to explain the down vote? This is a serious question :P

avatar image Zylar · Jan 11, 2011 at 04:27 PM 1
Share

It could be that this is more of a "discussion" question rather than an "answerable" question. :/ shrug

avatar image SrBilyon · Jan 12, 2011 at 11:57 AM 1
Share

A discussion is one way of finding solutions, therefore in this instance, it is appropriate. It's up to the viewers (and I) to deem what is an appropriate solution. As you can see before there are several effective ones. Some questions can be directly answered while others have several answers, like this case. If you would like to contribute to this community wiki question, it would be awesome. ;)

6 Replies

· Add your reply
  • Sort: 
avatar image
48
Best Answer Wiki

Answer by runevision · Jan 07, 2011 at 10:37 AM

Some simple tips for having better control over the mood:

Take control of the ambient light

Too often people just leave the ambient light to the default gray color. This is a huge missed opportunity, since the ambient light has huge influence on the mood.

For day scenes, it works well to make the sun light source have a yellow tint (or whatever color the sun is) and make the ambient light have a blue tint (or whatever the overall color of the sky is). If you have Unity Pro and are making an outdoor scene, you can set the Skylight color in the lightmap settings instead and maybe make the ambient color Black, but if not, then setting the ambient light color generally works well.

For night scenes, the ambient light should be really dark. If you want things to be pitch black where there's no light, just set the ambient to black. However, you can often get better mood by setting it to a really dark color. A very dark blue is good at simulating moon light, but experiment at find out what creates the mood you need.

Always use fog

The fog setting in the Render Settings is also hugely valuable for creating atmosphere. If you think fog is only to be used for foggy scenes then you're wrong! If you enable fog but set the density really low, you can use it to create aerial perspective. Aerial perspective is the effect that for example mountains long away get more and more blueish tinted. However, you're not limited to make it blue. In real life, aerial perspective has different colors as well, and generally is closely related to the color of the sky. So you'd typically use a blue color on mid-day, but an yellow, orange, or red color at sunrise or sunset. This creates tons of mood!

Use multiple colors for lighting

It's often a good idea to use multiple tinted colors to make the scene more interesting and less bland looking. For day-light, an obvious choice is the blue for ambient and yellow for direct light setup, which creates a nice balance between yellow and blue lighting. In indoor scenes it's a good idea to make light from artificial light sources yellow tinted (since most electrical lights are yellowish), while light from windows is blueish (since it mainly comes from the sky). But other combinations than yellow vs. blue can be used as well.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 03:51 PM 0
Share

Thanks, I discovered the ambient light settings with the Lerpz project and it was a great find.

avatar image Bravini · Jan 10, 2011 at 11:39 AM 0
Share

nice answer, I liked specially the fog tips, gonna try em out : ]

avatar image sandeshj · Aug 01, 2012 at 10:29 AM 0
Share

Wow. After this I tried it in my game and the difference was amazing. Especially the tip about fog. thanks.

avatar image
7
Wiki

Answer by Makandal · Jan 07, 2011 at 08:12 AM

Underwater atmosphere is one of the toughest to recreate. The Island demo is giving a first very basic step. These are the 6 points I see for underwater apart from sounds and physics.

1/ you will need to script, there is no choice.

2/ you need to create an underwater surface, transparent, specular, with a shifting bumpmap texture representing the wave. If it's a lake or any still water, you can leave the shifting texture.

3/ the underwater is not clear, it is a 'fog', depending on the murkiness, the turbidity of the water. In my prototype, I use 0.3-0.5 because the lake is polluted.

4/ the sea/lake bottom will generate a kind of dust when you touch it. It needs to be taken in consideration. These particle system will need to interact with the surface or you will get the same stupid bug I had (mud cloud going out of the surface !)

5/ you have to simulate the light in the water, I recommend you a spot light following the diver but above the surface. I am still working on that so this might not be the best solution

6/ One great thing to create a real underwater atmosphere (apart from the sounds) are the caustics. Caustics are these kind of shifting polygons of lights you see in outdoor swimming pool floors. Don't think about caustics in a dungeon or at night. But in a lake, during the day, it's a must. You can find an excellent caustic generator at www.dualheights.se/caustics/

Good luck.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 09:52 PM 0
Share

Thanks for the Caustics Generator Link.

avatar image
4

Answer by 3dDude · Jan 07, 2011 at 01:32 AM

Also realistic particles effects... Its really just trying to get the mood right. good skyboxes, rain, particles, lighting. It is not really a question that it easy to answer.

It really depends on the persons artistic mind.

For moon type lighting I use a normal direction light with a ever so slight blue tint to it.

In day light scenes use a light thats a little bit yellow.

Caves should have almost black ambient light, and not very much light. you really want the highlights to show.

A dungen should have torches(duh) And bumpmaps for stone add a lot of detail and mood.

I'm not quite sure what you mean by water scene?

Fantasy can not really look that good without glow and bloom postProcessing.. but try to make blown out texture.

For indoor scenes add point lights here and there to simulate GI. and spec/bump maps come in handy here also. As well as fake cubemap reflections.

and fog can be done quite realistically with particles... additive or additive soft shaders work well for fog.

I hope this is of some help to you!

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 01:40 AM 0
Share

$$anonymous$$y bad, I mean like a lake front, underwater. or like a water dungeon (didn't save my edits)

avatar image 3dDude · Jan 07, 2011 at 04:23 AM 0
Share

Ok a good caustics effect can be found here: http://forum.unity3d.com/threads/72226-Terrain-bump-mapped-detail-texture-for-1-splat-(Caustics)

I'm not really sure how the lighting would be much deferent near the water?

avatar image SrBilyon · Jan 07, 2011 at 04:45 AM 0
Share

You're right, speed type and copypasta fail :P Thanks for the help so far!

avatar image
3

Answer by efge · Jan 06, 2011 at 11:26 PM

A lot of mood (in outdoor scenes) comes from skyboxes. Use GoogleImages and search for 'skybox', you will get many examples. After setting it up in the inspector you can adjust your light intensity, direction and color to match the skybox images. Often one directional light is enough.

(Shadows and Image Effects (e.g. Color Correction) are very helpful ... but Pro only ;-)

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 12:42 AM 0
Share

Thanks, skyboxes do really help create the mood of the area. I wish I had pro for I would use color correction (but I can settle color color correcting my textures/use lightmapping until then)

avatar image efge · Jan 07, 2011 at 11:55 AM 0
Share

With Color Correction I meant not a "static" color tint (like after a Photoshop batch process) but a dynamic change e.g. when switching from natural to artificial light sources or at sunrise/sunset. Also I forgot fog. Use only a little amount and adjust the color to the sky color.

avatar image efge · Jan 07, 2011 at 11:58 AM 0
Share

For lightmapping I prefer also the tools provided by the modelling packages or the new U3.x feature. But for important indoor scenes I like to paint it by hand.

avatar image
2

Answer by PrimeDerektive · Jan 06, 2011 at 09:35 PM

For basic lighting, the A Lab Software guy made a really nice little library that is Unity-Indie friendly, and its super cheap:

http://www.alabsoft.com/lightlib.shtml

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SrBilyon · Jan 07, 2011 at 12:43 AM 0
Share

Thanks, great link.

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Why does my baked lighting look so different from my real time lighting? 2 Answers

Progressive GPU switches to Progressive CPU 2019.2 2 Answers

Crash on Bake Selected 0 Answers

lightmapping causes some parts to darken and change colors in some parts 0 Answers

Unity bake problem 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges