prevent log spamming for material.getId() != this.cache_currentMaterialId as the latter is reset before every frame rendering.
Merge pull request #10 from sebasbaumh/issue4

fix for issue #4
Thanks for this