How to use the FilmPass function from three

Find comprehensive JavaScript three.FilmPass code examples handpicked from public code repositorys.

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 );
fork icon0
star icon3
watch icon5

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)