• 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 Ludeme Games · Dec 30, 2012 at 09:13 AM · lightingscaleshadow

Unclear shadows at small scale

alt text

alt text

I've found that at real world scale (about a 5cm square for this chessboard) my shadows look terrible. See the first image where the shadow is a floating blob.

If the scene is scaled up to 100x and the camera re-positioned, tada... nice shadows. See the picture with a well defined shadow.

Why is this? Is there a way I can get the shadows to display nicely at real-world scale units? I've tried playing with various camera settings and had some success with making a more reasonable clipping plane and a "very high" shadow resolution, but not enough to make the result acceptable.

The scene uses just one directional light.

shadowsmall.jpg (9.0 kB)
shadowlarge.png (7.0 kB)
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

1 Reply

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

Answer by ChrisJD · Aug 11, 2013 at 02:10 AM

I realise this question is a few months old but I've just had the same problem. Solution was:

Go to the Quality Settings and adjust Shadow Distance to a sensible value for the size of the area you are using. If you just have a scale chessboard you probably want it all the way down to 1m (or less if that works). In my case my area was only about 7x7m in Unity units with the view point in the center so the distance to ~5.

Then on the directional light I turned the shadow Softness and Softness Fade down to fairly low values. 2.05 and 0.15 respectively in my case.

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 Renderluz · Apr 15, 2016 at 05:28 AM 0
Share

Actually I have the same problem, but the solution you posted does not work, no matter what I do on the quality setting the shadows on any object of 2units of height (which translates as 2 meters) still has the shadows looking bad, if someone has had this problem before I would appreciate some input to fix this problem with out changing the scale of the objects, as I feel having the game working in real world scale is actually very practical.

alt text

shadow.jpg (265.0 kB)
avatar image hawken Renderluz · Feb 03, 2018 at 05:56 AM 0
Share

necro reply here but it looks like you just need to change the Bias

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why does the shadow look weird only when my project is running? 1 Answer

how to get correct shadow from the model 1 Answer

Player Controller Has Huge Shadow? 0 Answers

Voxel engine lighting 1 Answer

Lighting Messed up with multiple meshes 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