added mesh ambience and constant buffer updates