Lighting and material system

Fix bug with camera manager not having valid camera till the first frame
update