tomezpl/LepusEngine

Materials don't update

tomezpl opened this issue · 1 comments

After Mesh::SetMaterial() and Scene::AddMesh(), changes made to the material are not reflected in the shaders. Would have to pass a pointer to the Material instead to not lose it.

Some extent of the issue has been addressed with commit 065a9f6 by integrating the Scene class with the Light class, therefore resolving issues with lighting updates.