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 /
  • Help Room /
avatar image
1
Question by Miklauz · Jan 14, 2017 at 07:56 PM · terraindirectional light

Something wrong with terrain or lighting

Hello,

so my problem is that the directional light doesen't work properly on my terrain... its weird even with the scene view light that is also directional. The terrain is covered in sand texture(not a problem) and it is set to 3000 width and 3000 length. I intended to create two islands, but then this stoped me. I spent my last three days smashing my head with this problem and i cant figure it out, so i am asking you people for help :)

screens:

this is without lighting(only scene view light): http://shrani.si/f/3s/ab/2exU6SQV/debug001.png

this happens if i turn in the direction of the light: http://shrani.si/f/3t/42/4MQWXyfL/debug002.png

this is with lighting ON and with my directional light(Sun): http://shrani.si/f/g/3Q/2Km0CLi4/debug003.png

as seen here, my rotation does not affect my directional light: http://shrani.si/f/l/OT/2YjGpjLw/debug004.png

i have a script attached to my directional light for my day/night cycle(also not problem) however this is how it looks in game :( :

http://shrani.si/f/45/5W/3fEZt0IP/debug005.png

and this is how it looks when the sun is lower: http://shrani.si/f/2I/122/16WEgWk3/debug006.png

at night everything is black, but at the morning however it is same weird stuff again.

what did i miss guys? I played around with my terrain settings, then with my directional light settings, then with my lighting settings... nothing worked :(

Comment
Add comment
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

1 Reply

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

Answer by Miklauz · Jan 16, 2017 at 12:59 PM

UPDATE: ok so i leave that here so others can also see.

All the researching of this problem has finaly paid off. The problem was (i guess) that i had set the Color Space to Gamma in the begnning of the project and forgot about it. So i just changed it back to Linear and it looks better. I mean it still doesent look good because i messed with lighting settings pretty much to resolve this issue, but i can change that with settings. It appears the problem has gone away :)

for anyone having this problem: go to Edit - Project Settings - Player -> open up Other Settings in the inspector and set the Color Space to Linear.

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 Miklauz · Apr 04, 2017 at 03:08 PM 0
Share

ok so the problem was also, that i used wrong normal map for texture that i used to paint the terrain. If you encounter that problem then i suggest you remove your normal map and test it. If its ok then you need to use other normal map or leave it without it. Hope it helped.

For details check this: http://answers.unity3d.com/questions/857134/why-is-my-point-light-only-shining-in-one-directio.html

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

95 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 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

Why and What are these darker stains on my terrain? 0 Answers

Mesh is lit through the terrain? 0 Answers

Directional Light Problem 0 Answers

Terrain turning into slices when using a heightmap,Heightmap Generating Slices 0 Answers

terrain plant details not work 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