通过设置不同场景,对不通场景内的颜色进行调整
function render() {
//校正不同通道颜色
renderer.autoClear = false
renderer.clear()
renderer.outputEncoding = null //THREE.RGBDEncoding
renderer.render(scene, camera)
//校正鱼群颜色
renderer.outputEncoding = THREE.GammaEncoding
renderer.render(sceneFish, camera)
}