- Home /
Upgraded to Unity 3 and now my trees are acting odd.
I just upgraded to Unity 3 from Unity 2.6.1 and now my trees are messed up. They were working fine before, but now they've all turn to a lighter shade than they're supposed to be. It only happens to the trees that are close enough to the first person controller object to be rendered. The tree billboards are fine. I'm not really sure if it's a bug or if there's some setting that needs to be set.
The trees are from a unitypackage called TerrainAssets that I downloaded online from the unity website. Any ideas?
Also, I'm still new to unity and game development so easy-to-understand explanations would be appreciated. :)
Below is a screenshot of what I'm experiencing.
Answer by user-5432 (google) · Oct 12, 2010 at 02:47 AM
I've noticed this same behavior with the island demo. The trees that are close will simply black out and not render the image onto the tree mesh. Once the trees get a certain distance from the camera, they appear to render correctly.
Not sure what's going on but I'm shocked Unity allowed the island demo to not work with Unity 3.0.
Anyone have any ideas?
This is not an answer and should be posted as a comment on the original question.
Answer by DocSWAB · Oct 27, 2010 at 10:25 PM
There appears to be some problem with the updating pipeline of trees. I have the problem that tree lighting doesn't update in the Game View very reliably.
Some things that have busted loose tree lighting and other terrain display problems for me are:
- Make sure that the color settings on the tree materials are correct now that lighting is handled differently. You may even need to reattach the correct shaders.
- Do Refresh Tree and Detail Prototypes and then hit Play and Stop again.
- Bake the lightmap.
- Reimport the terrain object.
- Build the scene to a player, which does asset importing and cleans stuff up.