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

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.