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
Wrong material display when using PBR in egg file #828
When using the metallic scalar in egg material, the ambient light is forced to white when loading bam file (or cache).
In the egg_PBR_material_bug.zip file you'll find:
To reproduce the bug, rename simplest_NOT_WORKING.egg to simplest.egg and execute simplest.py.
I believe that, to solve the issue, the set_base_color method should be used in place of the _base_color property assignment in the Material class fillin method of the src/gobj/material.cxx file.