How to use the ReinhardToneMapping function from three
Find comprehensive JavaScript three.ReinhardToneMapping code examples handpicked from public code repositorys.
16 17 18 19 20 21 22 23 24 25
this.renderer.gammaInput = true; this.renderer.gammaOutput = true; this.renderer.gammaFactor = 2.2; this.renderer.shadowMap.type = THREE.PCFSoftShadowMap; this.renderer.toneMapping = THREE.ReinhardToneMapping; // this.renderer.shadowMap.enabled = true; this.renderer.setSize(window.innerWidth, window.innerHeight);
GitHub: utunga/deeppbr.ai

125 126 127 128 129 130 131 132 133 134
gui.css("top", $("#webgl_container").css("top")); renderer.gammaInput = true; renderer.gammaOutput = true; // renderer.toneMapping = THREE.ReinhardToneMapping; // renderer.toneMappingExposure = 3; renderer.shadowMap.enabled = true; renderer.shadowMap.type = THREE.BasicShadowMap; renderer.shadowMapSoft = true;
+ 3 other calls in file
three.Vector3 is the most popular function in three (22341 examples)