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
2
Question by Steven-1 · Mar 29, 2011 at 11:59 AM · terrainshadowtreesterrain-treesreceive

How to make terrain trees receive shadow

As far as I know, terrain trees cast shadow, but don't receive shadow. That is, if those trees are imported models, cause I noticed that the trees created with the new Tree Creator do recieve shadow.

Now I was wondering if there is perhaps a way to make my trees (imported meshes) receive shadow ? (just a setting I overlooked perhaps?)

Cause I don't really see why it works for the one but not for the other.

Also, How much more expensive are tree creator trees than the normal ones?

I'm using Unity Pro btw

Comment
Add comment · Show 1
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 Steven-1 · Dec 24, 2011 at 12:08 PM 0
Share

seriously, no one ?

2 Replies

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

Answer by larsbertram · Dec 28, 2011 at 10:20 AM

imported trees using the built in soft occlusion leave shaders do not recieve shadows due to the shader. you can have shadows on the bark though using a hacked shader: go to the asset store and find the advanced terrain shaders (free).

lars

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 Steven-1 · Jan 05, 2012 at 09:28 AM 0
Share

Ah, thanks, alright I'll test this

avatar image
0

Answer by BigBlob · Dec 25, 2011 at 04:46 AM

if you are making tress from the terrain you can just simply generate a light map

but before the light map firstly make a directional light with a rotation of the Z or X axis to 45 degrees. then go to window at the top bar and select light mapping object from your hierchy and select your directional light and click Bake to make a texture that applies automaticly to the terrain

that so do the trick

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 Steven-1 · Jan 05, 2012 at 09:35 AM 0
Share

I've tried lightmapping, but it doesn't give a good result (worse than shadow at all), it just makes the trees in the shadow darker in general, it looks more like the trees are burned rather than in the shade.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

How can I make an object cast a shadow only on certain objects? 0 Answers

Tree Creator Problems 1 Answer

Can terrain trees run their own script? 1 Answer

Terrain trees not casting shadow 1 Answer

Lightmapping terrain WITHOUT trees 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