highfidelity/hifi — pull request #3788 by ZappoMan (2014-11-13 22:56:41+00:00)
Title: More work on model scene rendering

* more refactoring of renderMeshes to remove the shader program selection and to allow entire scenes of models to be rendered with a single shader selection.

* optimization of endScene() to only select the shader once per model group.

* optimization of the modelsInScene loops to not attempt to render models that don't have meshes for that particular shader type