Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
4.0.0b8
Issue ID
489435
Regression
No
Terrain - vertex animation using incorrect phase
Terrain Billboard Shader Incorrect
The diffuse lighting component of the TreeCreatorBarkRendertex.shader isn't limited to being above 0, which in the majority of cases causes black tree bark on tree creator trees (due to negative lighting).
Fix by modifying line 45 in TreeCreatorBarkRendertex.shader of the builtin shaders to:
o.params[j].r = max(0, nl ); // <- Changed!
See attached example with the corrected shader included.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
Add comment