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 question was closed Mar 04, 2015 at 04:00 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
1
Question by NorbertMilton · May 27, 2013 at 05:07 AM · errorshadowsspotlight

The shadows are drawing with some distance from casting object

Hello. I'm having some strange effect using a SpotLight with shadows. It seems to be start drawing the shadow with some distance from the object that cast it. For example, there's a table legs (i've checked that make contact with ground), the light seems to be drawing the shadow with a separation like can be seen in the picture. Do you know if this is a commnon issue? SpotLight with a camera using Deferred Lighting. Thanks in advance.

alt text

weirdlights.jpg (102.8 kB)
Comment
Add comment · Show 2
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 Le-Pampelmuse · Mar 04, 2015 at 04:01 AM 0
Share

Hello $$anonymous$$iltonNorbert!

I am desperate! I have searched the internet for days and can't find any information about my problem.

Can you PLEASE check in your project: When you move closer to the table, if at a specific distance the shadow starts to cut off?

I have that problem only with spotlights.

When a spotlight gets close to something, the shadow starts to cut off the closer the light gets.

I have that with both hard and soft shadows and only with spotlights.

avatar image TheCatProblem · Sep 03, 2018 at 06:17 PM 0
Share

Just for reference: although this question asks about spotlights, this gap issue also affects shadows cast by point lights. Unfortunately, reducing the bias doesn't eli$$anonymous$$ate this issue for point lights. This is a known bug (see https://issuetracker.unity3d.com/issues/realtime-shadows-have-an-offset-to-the-object-when-using-a-point-light and https://forum.unity.com/threads/point-lights-shadows-and-general-graphical-issues-with-lighting.396986/) and isn't yet fixed.

2 Replies

  • Sort: 
avatar image
1
Best Answer

Answer by Benproductions1 · May 27, 2013 at 08:34 AM

Have you tried changing the lights peoperties such as Bias and seeing if anything changes?

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 MiltonNorbert · May 27, 2013 at 10:07 PM 0
Share

Hello. I'm the one who asked this question but i lost the account information, so i made another one to tell you that it was solved. The problem was fixed, thanks Benproductions1 and Broheim.

Apparently was the Bias value in the SpotLight. I've set the field to 0.01 and it worked just fine.

Thanks a lot guys.

alt text

lightfix.jpg (95.8 kB)
avatar image Benproductions1 MiltonNorbert · May 27, 2013 at 10:22 PM 0
Share

Please, someone, close this question!
@$$anonymous$$iltonNobert You do know you can recover your password?

avatar image $$anonymous$$ · Jan 25, 2017 at 08:31 PM 0
Share

Worked perfectly! Ty <3

avatar image
1

Answer by Broheim · May 27, 2013 at 01:11 PM

Maybe your scaling is tiny. does your table have a height of about 1 unity unit?

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

Follow this Question

Answers Answers and Comments

18 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

GameObject doesn't cast a shadow 3 Answers

Spotlight shadows acting strange in universal render pipeline 0 Answers

Spotlights "turn off" a certain distance from camera? Possible Lab Renderer issue (maybe not). 0 Answers

ShadowCastingMode gives error 1 Answer

Inconsistent shadow based on distance 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