Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
0
Question by manuleptit · Aug 16, 2011 at 11:51 PM · lightingcharacterlightmapshadowdynamic

Dynamic objects lighting and rendering (exterior scene)

Hello everybody !

I have been struggling with a (noob?) issue in my exterior scene. I kinda came up with a temporary solution but I'm not entirely happy with the result. I guess you guys out there can help me with a more professional solution.

I have a lightmapped exterior scene with a character. Here is my problem : I got only one light source, my sunlight (from which I have baked the lightmap). The scene looks great but when the character is not facing the lightsource, it is so dark that you can't even see any detail. My solution so far is to put another low intensity directional light facing the other way, with a culling mask on the environment assets so it only affects the character. It does solve the problem a bit, but it is far from being perfect...

Without second directional light alt text

Second directional light enabled alt text

Any suggestions on lighting characters? General rules etc?

Thank you !

Manu

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Waz · Aug 17, 2011 at 12:49 AM

Outdoor scenes usually have a lot of Ambient light bouncing off everything. Look at a shadow outside: it is far from black.

See Render Settings.

Also, you'll may want to add an SSAO filter to avoid the unrealism that ambient lighting can give to your dynamic objects otherwise.

Comment
Add comment · Show 2 · 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 Waz · Aug 17, 2011 at 02:06 AM 0
Share

(I'm actually commenting on your "answer") Ambient light has nothing to do with colour correction. Ambient light is light added on top of whatever scene lighting is defined. The main problem with it is that in the real world the ambient light is not constant - it is less in corners and such - where there ambient light is occluded. And, as the name suggests, that is corrected by adding an Ambient Occlusion filter.

avatar image Waz · Aug 17, 2011 at 02:18 AM 0
Share

You can also add AO baked into your character texture. You'll still need ambient light for it to be visible though.

avatar image
0

Answer by manuleptit · Aug 17, 2011 at 01:40 AM

Okay fair enough, I know that, that's why I baked a lightmap. In my scene, shadows aren't black. More like a transparent blue (made them blue through a ramp colour correction image effect by the way)

The problem with Ambient light in the render settings is that it colours things more than it actually lights stuff, right? I have tried that already :) (I have just retried it. Yeah, Ambient light is just a general (and ugly) colour correction ^^)

Thanks for the tip anyway. I'm gonna try adding a SSAO.

Anything else I can try ? ^^

Comment
Add comment · 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
0

Answer by manuleptit · Aug 17, 2011 at 03:18 AM

I do have Ambient lighting in my scene (didn't make it black to cancel it like most nextgen developers do)

What options do I have with this Ambient light setting? Not much, except for its colour. Tweaking it just changes the colour of the non-lightmapped objects in the scene. It doesn't make the details show up. Here, take a look :

Here is the scene again with only one lightsource (and an SSAO effect added. Thanks for the tip, it does bring some of its details and volumes, not as flat as before ^^ )

alt text

And here is all I can do with the Ambient light setting. You can't actually change its intensity or whatever. What do you suggest I actually do with it?

alt text

Thank you !

Comment
Add comment · 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

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

Disable Lightmap when baked lights turn off 0 Answers

Random lightmap switching 0 Answers

Weird black overlay(look like shadow) in WebGL build 0 Answers

Character not receiving light 1 Answer

How do I get lightmap shadows working for trees? 1 Answer


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