Skip to content

mattatz/THREE.BloomBlendPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THREE.BloomBlendPass

Bloom blend effect for three.js.

sample

Usage

This effect relies on THREE.EffectComposer.

var composer = new THREE.EffectComposer();
composer.addPass(new THREE.RenderPass(scene, camera));

var bloomPass = new THREE.BloomBlendPass(
    2.0, // the amount of blur
    1.0, // interpolation(0.0 ~ 1.0) original image and bloomed image
    new THREE.Vector2(1024, 1024) // image resolution
);
bloomPass.renderToScreen = true;
composer.addPass(bloomPass);

composer.render();

Example

before after

About

Bloom blend effect for three.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published