onstants.BACK
                    material.onBeforeCompile = null;
                    material.isDirty = true;
                });
                framebuffer.bind();
                renderer.viewport();
                renderer.clear(new Hilo3d.Color(0,0,0,0));
                renderer.renderScene();
                framebuffer.unbind();

                model.materials.forEach(function (material) {
                    material.transparent = false;
                    material.premultiplyAlpha = false;
  