Skip to content

Commit 7c524e3

Browse files
committed
Update DepthOfFieldEffect.js
1 parent 10b960b commit 7c524e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/effects/DepthOfFieldEffect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export class DepthOfFieldEffect extends Effect {
451451
if(this.target !== null) {
452452

453453
const distance = this.calculateFocusDistance(this.target);
454-
this.circleOfConfusionMaterial.focusDistance = distance;
454+
this.cocMaterial.focusDistance = distance;
455455

456456
}
457457

0 commit comments

Comments
 (0)