Skip to content

Commit

Permalink
Tweak bloom
Browse files Browse the repository at this point in the history
  • Loading branch information
milcktoast committed May 5, 2015
1 parent 24a85bb commit 5c393f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/js/scenes/MainScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ MainScene.prototype.initFxComposer = function () {

// TODO: Tweak bloom fidelity
MainScene.prototype.addPostFx = function () {
var bloomKernel = 20;
var bloomKernel = 25;
var bloomSigma = 4;
var bloomRes = 7;
var bloomRes = 8;

this.addPass(new THREE.RenderPass(this.scene, this.camera));
this.addPass(new THREE.BloomPass(1, bloomKernel, bloomSigma, Math.pow(2, bloomRes)));
this.addPass(new THREE.BloomPass(0.75, bloomKernel, bloomSigma, Math.pow(2, bloomRes)));
this.addPass(new THREE.ShaderPass(THREE.CopyShader), true);
};

Expand Down

0 comments on commit 5c393f4

Please sign in to comment.