Skip to content

Commit 92d0727

Browse files
committed
Apply Vignette after tone mapping
1 parent 656b479 commit 92d0727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manual/assets/js/src/demos/vignette.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ window.addEventListener("load", () => void load().then((assets) => {
9191
});
9292

9393
effect.blendMode.blendFunction = new MixBlendFunction();
94-
const effectPass = new EffectPass(effect, new ToneMappingEffect());
94+
const effectPass = new EffectPass(new ToneMappingEffect(), effect);
9595
effectPass.dithering = true;
9696

9797
const pipeline = new RenderPipeline(renderer);

0 commit comments

Comments
 (0)