Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
3
Question by Ben Throop · Feb 08, 2010 at 07:24 PM · lightingshadowshadowmappro-only

What should I do to get the best looking realtime shadows in Unity Pro?

I'd like this question to serve as a hub for all things realtime shadow related.

What setups and techniques are you guys using to achieve reliable and good looking realtime shadows in your Unity Pro based games? How are you avoiding such pitfalls as giant pixels, shimmering, and overall ugliness? The docs are good, but what isn't mentioned that is must know?

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

4 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by efge · Feb 09, 2010 at 09:27 AM

To avoid the pitfalls I always try to avoid using realtime shadows, especially hard shadows.
What I do:

Indoor scenes:
- lightmaps (take a look at the Sewer Control Room)
- no lights
- only geometry with self-illumination (with or without halos)
- no realtime shadows

Outdoor scenes:
- one overall lightmap (painted by hand)
- one directional light as the sun with low intensity
- projectors for blob shadows (advanced: aligned with the direction of the sun light)
- realtime soft shadows with low intensity
- soft shadows only enabled for 'farer away' 3rd person cameras
- projectors for extra spot lights
- no self-shadowing

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 Ben Throop · Feb 09, 2010 at 03:37 PM 0
Share

Thanks, this answer is really what this thread is for. Ashkan is right, the documentation is pretty comprehensive, but documentation and experience are different things, and the docs cannot cover every nuance of the system. Examples like "in my game XYZ that is outdoors with changing day/night cycles, we did blah".

avatar image
1

Answer by Ranza · Feb 09, 2010 at 09:53 AM

Give it a try to lightmaps with the external lightmapping tool http://masteranza.wordpress.com/unity/lightmapping/

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
-1
Wiki

Answer by Ashkan_gc · Feb 08, 2010 at 09:48 PM

the documentation is complete. if you need to know more take a look at this link in wikipedia.

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 Ricardo · Feb 08, 2010 at 11:30 PM 1
Share

Ben's question would seem to be oriented towards not liking the default look, and wondering how it can be improved/tweaked.

avatar image Ashkan_gc · Feb 09, 2010 at 03:32 AM 0
Share

the link that i provided here has many technical details about how one implement shadow maps and it can help to understand the technique better and change the settings better and with more knowledge and improve the quality.

avatar image
0

Answer by efge · Feb 09, 2010 at 09:43 AM

Many game reviewers are looking for realistic lighting effects (even in fast paced racing games). So we could provide two 'light mode'-versions of our games.
One 'offline' version for nice looking snapshots and game play movies. And one for the player where shadow and light usage or intensities are reduced to a minimum (depending on camera distances/angles, speed, ...).

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

No one has followed this question yet.

Related Questions

How to store directional light shadowmap? 1 Answer

More detailed terrain shadow 0 Answers

Dithering/noise problems while generating lighting in a scene 0 Answers

HDRP High Quality Shadow Filtering really noisy for some reason 0 Answers

How to make a GameObject not hittable by shadows ? 2 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