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 EdvinBitar · Mar 04, 2015 at 11:10 PM · unity 5lightingtree creatorleaves

Tree leaves lit up

So since the Unity 5 update my tree leaves just starts to glow whenever there's a light nearby. In unity 4 when this happend I changed the material from tree creator leaves fast to tree creator leaves, then the leaves would act like the branch in the picture, now it doesn't work. I'm going mad!

I don't know if this is a bug or if there is something new in unity 5 that I'm un aware of. Please help me! I can upload more images if it helps! alt text

landskapskymning0.png (148.3 kB)
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 Le-Pampelmuse · Oct 17, 2015 at 12:06 AM 0
Share

Hello, do you still have this issue?

I recently started adding trees to my scene (which I've worked on for quite a while to make sure no lighting bugs occur and so on).

Due to that fact I made cubemap cookies for some point lights, because actual spotlights are so terribly implemented in Unity that I can't use them with Shadows On.

Here comes to point:

The trees are constantly lit from the OPPOSITE side of the moon(a directional light). USing simple process of eli$$anonymous$$ation i found out that one pointlight using the cubemap cookie STILL lights the leaf material (and only the leaf material) of the trees, even though there are several walls in between, but that is irrelevant since it should send no light in that direction anyways.

So, there is obviously some problem regarding the tree creator materials, since nothing else in my scene is lit by the "dark sides" of the pointlight.

avatar image Le-Pampelmuse · Nov 11, 2015 at 01:50 AM 2
Share

Hello, just in case you still want to have working leaves, I edited the Tree Creator shaders to work with all lighting. Additionally they cast shadows properly and receive all shadows.

https://www.dropbox.com/sh/q3m8dn8rhkvjdq1/AAAWW$$anonymous$$RV97Xgc8-_xLhn$$anonymous$$Qgqa?dl=0

To answer the question: The standard "Nature/Tree Creator Leaves" shader is only casting and receiving shadows from one directional light in the scene. In Unity 5.2 this is still not changed which is very sad so I took it into my own hands.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by DeathDev · Mar 05, 2015 at 01:28 AM

Have you tried changing the material of the leaves to 'diffuse'?

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 EdvinBitar · Mar 05, 2015 at 07:29 AM 0
Share

Yes I tried this just now, but the tree creator will only accept the materials tree creator leaves fast and tree creator leaves.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

[HELP]Why Trees Leaves shadow from spotlight are not recieving light correctly 0 Answers

Deferred rendering light mask warning problem 0 Answers

Unity3d Lighting Ring Artifacts 0 Answers

Can you disable shadows that are not seen by the camera ? 1 Answer

Volumetric lighting HDRP Area & tube lights, not working,HDRP volumetric light from tube & Area lights 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