How to use the FilmPass function from three
Find comprehensive JavaScript three.FilmPass code examples handpicked from public code repositorys.
GitHub: avocadojesus/hackaholics
![avocadojesus profile picture](/avocadojesus.png?size=40)
175 176 177 178 179 180 181 182 183 184
window.addEventListener( 'resize', onWindowResize, false ); // postprocessing var renderModel = new THREE.RenderPass( scene, camera ); var effectFilm = new THREE.FilmPass( 0.35, 0.75, 2048, false ); effectFilm.renderToScreen = true; composer = new THREE.EffectComposer( renderer );
three.Vector3 is the most popular function in three (22341 examples)