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
0
Question by Zitoox · Aug 18, 2016 at 08:54 PM · renderingbug-perhapsshadow bugrendersettings

Strange shadow problem

I am having a problem with shadows in my scene. Sometimes when i zoom in or out some strange shadows appear. It's like a shadow clipping, and it's REALLY annoying. I am trying to make a city model and this is ruining my work =( I think it's a rendering bug. My terrain is 1500x1500 (Really big) and i think that's the problem. The rendering limit of the camera is a lot wide too. Is there an option that could help or something ?

I uploaded an image, maybe it can help you guys to understand.

https://postimg.org/image/aaz17yhpr/

Comment
Add comment · Show 4
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 Zitoox · Aug 19, 2016 at 04:12 PM 0
Share

Seriously, when i get more experience,i will NEVER help you guys '-'

avatar image tanoshimi Zitoox · Aug 20, 2016 at 08:30 AM 0
Share

?

?

avatar image Zitoox tanoshimi · Aug 20, 2016 at 01:29 PM 0
Share

No one ever help me =C

avatar image zereda-games · Feb 22, 2019 at 06:23 AM 0
Share

See if your issue is somewhere in this Question

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by HHammerite · Aug 19, 2016 at 11:18 PM

Hello Zitoox,

I've has similar problems with large terrains. My project will be using a terrain which is larger than yours. In testing I've encountered strange shadow problems much like in your screenshot. How far from the centre of the world (0, 0, 0) is this screenshot? From what I can gather with my own testing, the further away you get the worst the problem becomes. Unity have responded to this problem or something similar and plan to improve shadow accuracy in a later version of Unity. Take a look at the Unity roadmap. They've added it to their 'to-do' list. As of now the only solution I've found is too adjust the clipping planes on the camera in use. Although this isn't a solution for me as it interferes with my gameplay. I'd like to see some official response to this to be honest, seems to be affecting a fair number of people using large worlds.

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 Zitoox · Aug 20, 2016 at 01:33 PM 0
Share

Thanks, the two answers seems to work :D

I am going to test it. I can't remember, i will reply this later with all the info, but the screenshot was taken far from the terrain. I disabled the shadows of the terrain and it helped, but i still have problems with the shadow clipping in other objects. Anyway, thanks for the answer ^.^

avatar image
0

Answer by Jessespike · Aug 19, 2016 at 08:53 PM

Looks like a shadow depth problem or perspective aliasing. I think a lot games just fade out or cull shadows after a certain distance, it's a common problem, due to software or hardware limitations. Unity has a Shadow Distance option in Quality Settings. Try increasing the shadow resolution or using shadow distances.

If you need faraway shadows to be visible while zooming, then maybe a solution is to move the camera closer instead of relying only on zooming.

Manual - Shadow Overview

Manual - Light Performance and Troubleshooting

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 Zitoox · Aug 20, 2016 at 01:35 PM 0
Share

Thanks, the two answers seems to work :D

I am going to test it. I don't need the shadows faraway,because they just don't appear.. I disabled the shadows of the terrain and it helped, but i still have problems with the shadow clipping in other objects. I will try to change the shadow resolution as you said. Anyway, thanks for the answer ^.^

avatar image
0

Answer by Laiken · Feb 22, 2019 at 06:11 AM

Screenshot is not working anymore. If it's the problem I think it is, you can solve it by playing with the shadow cascade settings (project settings > quality)

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 not_herobrine · Jan 10, 2021 at 10:41 AM

For me, the problem was easiliy fixed in unity 2020.2 by bumping up the "shadow near plane offset" to a higher number. This option can be acessed by going into preferences -> project settings -> quality.

If there is a better solution, please do correct me.

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

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

Related Questions

Halo rendering through objects? 0 Answers

paritcle system sorting layer and order ignored 3 Answers

Why are the UI Textures darkening when Built? 1 Answer

HDRP error 2021.3 LTS 0 Answers

Why do my linear textures look different in the editor than in the mobile build? 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