Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Christian Stewart · Feb 28, 2010 at 05:08 AM · cameralightingdistance

Why is my terrain dark in the distance? (It gets lighter when moving closer.)

Hey folks,

Well I've searched and searched this forum and I can't seem to find an answer to this problem I have - here are a few screenshots. The light fades out at a distance, but when I walk toward the darkness it gradually gets lighter. How can I fix this distance thing? Thanks. alt text alt text

Comment
Add comment · Show 3
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 Christian Stewart · Feb 28, 2010 at 04:05 PM 0
Share

Still unanswered... I am using one directional light.

avatar image CJCurrie · Feb 28, 2010 at 07:27 PM 0
Share

Huh... From your screens it looked like that light was a point light. If it's directional and pointing straight down then it should light everything evenly. It doesn't look like you're using fog, so double-check the light's settings. Try setting the range and intensity to be higher, and if that doesn't work, please post more screens.

avatar image Christian Stewart · Mar 03, 2010 at 03:00 PM 2
Share

The problem is solved - I had a deep fog turned on.

4 Replies

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

Answer by CJCurrie · Feb 28, 2010 at 07:23 AM

Can you please explain your problem more thoroughly? Often unexpected lighting is the result of performance optimization. As the camera's distance from any given light changes, Unity will give different priority to it in rendering, which may cause lights to "pop" in or out, or other unexpected behaviour. You can change these settings in Edit->Project Settings->Quality. For example, I always set my editor quality to Fantastic and set the max number of lights per object to ~20. This solves most light problems.

I see you are using a terrain. Consider using vertex or pixel lighting for it.

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 Christian Stewart · Feb 28, 2010 at 04:04 PM 0
Share

I am using one directional light for the sun. Any ideas?

avatar image Motionreactor · Feb 28, 2010 at 04:40 PM 3
Share

Edit > Render settings

Check your fog settings, they may be the culprit.

avatar image Christian Stewart · May 24, 2010 at 02:02 AM 0
Share

Yes, this was the answer, not what you see checked above.

avatar image
1

Answer by oxl · Mar 01, 2010 at 11:25 AM

Try setting the "Billboard Start" setting in the terrain properties to a higher value. For some reason it seems to me, that this billboard Start threshold affects the border, where unity switches betweeen pixel light and the pre-calculated lightmap, too.

Same goes for "Base Map Distance". Both sliders are affecting the pixel light view distance. At least it's my experience.

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 Leniaal · Feb 22, 2019 at 12:20 PM 0
Share

Still a relevant answer, adjusting Base $$anonymous$$ap Distance fixed this issue for me. Before and After

avatar image
0

Answer by Christian Stewart · Feb 28, 2010 at 04:03 PM

See comment... Is there any way to mark things as unanswered?

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 Motionreactor · Feb 28, 2010 at 04:30 PM 0
Share

You can always toggle the 'accepted answer' if you need to. I believe it will remain unanswered until you check the accept, so it will be visible as an open question by everyone.

avatar image
0

Answer by faredu · May 04, 2010 at 02:01 PM

oxl, thank you, it's really a the solution

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

1 Person is following this question.

avatar image

Related Questions

Making Camera adjust to indoor/outdoor lighting 1 Answer

Two Levels of Directional Lighting For Different Cameras 1 Answer

Camera Problem 1 Answer

Jarring "snap" on 2d Camera raycast collider 0 Answers

Can you find a dominant light direction from the spherical harmonics of a skybox? 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