Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
11 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
1
Question by Demonicdaron · Aug 10, 2015 at 12:04 PM · lightingshadowenvironment

Problem with lights and shadows (Random square shadow)

I'm getting this strange square shadow effect depending on how the camera is rotated. Does anyone know what could be causing it? I have no idea where this shadow could be coming from to be honest. I have a point light on my char, but with no shadows. There is no directional light in the scene, only point and spot lights.

You can see the shadow close to the feet of the character:

alt text

Now the shadow changed based on the camera rotation:

alt text

prob4.png (105.2 kB)
prob5.png (101.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 Demonicdaron · Aug 10, 2015 at 01:00 PM 0
Share

I noticed that there are some changes if I play with the "Render $$anonymous$$ode: Auto" setting, by changing it to Important/NotImportant. Still no complete solution to the problem thou

Here is another picture showing the problem: alt text

prob6.png (437.9 kB)
avatar image Demonicdaron · Aug 11, 2015 at 10:38 AM 0
Share

Nobody even has a clue on this? I can't believe I'm the only one having this prroblem! :D

2 Replies

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

Answer by Demonicdaron · Aug 11, 2015 at 06:35 PM

It turned out to be the Render Mode of the lights in the end. I had everything set to auto, which in turn was setting each light on important/not important according to the intensity of the surrounding lights. After psending a while figuring out which made most sense to be important/not important, I was able to fix the problem. However, I had to renounce to having both the player light and the enemies light displyed on the floor at the same time when player and enemy got close together.

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 Slimmy · Feb 08, 2019 at 09:49 AM

This really helped me out when trying to figure out why I got these strange square shadow around my vehicle. I had spotlights both front and back which were all set to important. However, I also had a directional light in the scene (moon glow) which caused a conflict. Put all my spotlights on auto which removed the square shadow but instead caused my tail lights to stop rendering from time to time. Still haven't found a solution for this.

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 Slimmy · Feb 08, 2019 at 11:19 AM 0
Share

I found the answer elsewhere.

You should go to Edit > Project Settings > Quality and change the pixel light count to a higher value.

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

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

Related Questions

Light Bleeding Through Hard Edges on Shadow Casting Object 1 Answer

Light creates distortion on mesh? 1 Answer

No shadows. 2 Answers

Enviroment Lighting from Sky not updating in realtime 0 Answers

How come my car-objects hood doesn't cast any shadows? 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