Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Jan 25, 2025
1 parent d9eff2b commit 55cb8e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/passes/EffectPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,7 @@ export class EffectPass extends Pass<EffectMaterial> {

}

const material = this.fullscreenMaterial;
material.time += this.timer.getDelta() * this.timeScale;

this.fullscreenMaterial.time += this.timer.getDelta() * this.timeScale;
this.setRenderTarget(this.output.defaultBuffer?.value);
this.renderFullscreen();

Expand Down

0 comments on commit 55cb8e9

Please sign in to comment.