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 holsoft · Dec 28, 2014 at 06:44 PM · terrainshadowlightmapping

Shadows are not being cast on terrain using lightmapping

Hello guys,

I would like some advice from you. I have simple scene - one mesh, one point light and small flat terrain. Mesh is set to be lightmapping static, so is terrain. But whatever I do - there are no shadows on terrain. I am really hopeless right now and I don't know what to do to get the shadows working with terrain.

When I replace the terrain with cube, everything works fine.

Thanks in advance!

EDIT:

So on first picture, you can see the setup of terrain. If I set size down to 250x250, then you get result as on picture 2. Please note, that in the first case one terrain "tile" is larger than lamp post.

alt text alt text

Ondrej

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 Namey5 · Dec 29, 2014 at 12:19 PM 0
Share

Have you setup the terrain correctly? Could you post a pic of the settings you have? It would be helpful to have more information, as I have grown very used to the beast lightmapping system in Unity so I think I might have encountered the same problem previously.

avatar image holsoft · Jan 01, 2015 at 03:50 PM 0
Share

Thanks Landern, next time I will put it there myself :-)

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by holsoft · Dec 31, 2014 at 06:16 PM

I have found out, that the problem was with the size of terrain and maximal resolution of lightmap, which is 4096x4096. Am I right if I say that the only way to achieve lightmapping is to scale down the terrain and split it to multiple smaller parts? (the real size of terrain is 2km x 2km and I use 1 unity unit as 1 meter).

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 Namey5 · Jan 01, 2015 at 01:17 AM 0
Share

No, it should work without scaling down the terrain. Just make sure of things like the type of lightmap you are doing, the atlas index, static, etc.

avatar image
0

Answer by TheSidofEvil · Apr 26, 2015 at 11:41 AM

unity 5.0.1 fixes it

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

Lightmapping shows lighter areas cast by tree shadows 1 Answer

Lightmapping strange behaviour 2 Answers

Baked shadows too dark 1 Answer

Beast lightmapping- terrain ignores light 0 Answers

Unity Custom CutOut Shader 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