Skip to content

Commit 13be9fb

Browse files
authored
Update BloomNode.js
Fix code style.
1 parent 5472220 commit 13be9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/jsm/tsl/display/BloomNode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class BloomNode extends TempNode {
366366

367367
// These sizes have been changed to account for the altered coefficents-calculation to avoid blockiness,
368368
// while retaining the same blur-strength. For details see https://github.com/mrdoob/three.js/pull/31528
369-
const kernelSizeArray = [ 6, 10, 14, 18, 22 ];
369+
const kernelSizeArray = [ 6, 10, 14, 18, 22 ];
370370

371371
for ( let i = 0; i < this._nMips; i ++ ) {
372372

@@ -480,7 +480,7 @@ class BloomNode extends TempNode {
480480
const uvOffset = direction.mul( invSize ).mul( x );
481481
const sample1 = sampleTexel( uvNode.add( uvOffset ) ).rgb;
482482
const sample2 = sampleTexel( uvNode.sub( uvOffset ) ).rgb;
483-
diffuseSum.addAssign( add( sample1, sample2 ).mul( w ) );
483+
diffuseSum.addAssign( add( sample1, sample2 ).mul( w ) );
484484

485485
} );
486486

0 commit comments

Comments
 (0)