tomezpl / LepusEngine

OpenGL game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Materials don't update

tomezpl opened this issue · 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.