Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix white ambient in STL loader #2563
A problem that sneaked in from #1293 (f84851e) due to insufficient code review, later reported in #2059 but never fixed properly. Having a white ambient practically means all other color information is ignored and the model stays bright white no matter how you set up your lighting. Application code then has to check for this case and patch it during model import (see here, for example). Putting it back to how it was before the commit above so workarounds on app-side can be removed again.
Thanks for merging.