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 /
avatar image
0
Question by laisch · Apr 17, 2015 at 10:00 AM · performancedistanceshadowsettings

increasing shadow distance for a single object?

I am working on a small flying simulator wich should run on browser aswell as on android devices. The main work and coding is done and now i am struggling on the performance settings. For Android the shadow distance is set to 20 units as default. For all non moving objects that is ok. But for the Gameplay it is mandatory to see the players shadow always on the ground (player has to land on a spot). If i increase the shadowdistance on the whole szene, the performance is really bad. So is there any possibility to increase the shadow distance just for one single object?

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 karljj1 · Apr 17, 2015 at 10:04 AM 0
Share

Have you tried lowering the shadow resolution?

You can control what lights and shadows effect using the culling mask on a light but this would require turning shadows off on everything but your aircraft if you wanted a large distance.

An alternative would be to fake the shadow using something like a projector.

avatar image laisch · Apr 17, 2015 at 12:18 PM 0
Share

Yes the shadow resolution is set to low. I think i will try to fake the shadow for far distances. I will try this out when I am at home ;) Thx for that idea.

I don't know, maybe it's not the shadows wich lowers the games framerate. I am really new to unity and I just found out a few $$anonymous$$utes ago that there is also a profiler. I hope this will help me to find out my bottlenecks

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Oribow · Apr 17, 2015 at 02:56 PM

Try to simulate the shadow instead. Take a look at projectores: http://docs.unity3d.com/Manual/class-Projector.html

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to make my character's shadow circle only? 2 Answers

Cheapest way to get distance detection and triggered events. 2 Answers

Shadow Distance for individual lights? 1 Answer

Lightmapping Shadows Jagged 1 Answer

Stuttering when using Shadows on larger resolutions when also using SSAO 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