Skip to content

Commit

Permalink
pass
Browse files Browse the repository at this point in the history
  • Loading branch information
xubing0906 committed Aug 10, 2023
1 parent e69ae56 commit 6a8376c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cocos/rendering/post-process/post-process-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@ export class PostProcessBuilder implements PipelineBuilder {
// depth-based shading
this.addPass(new HBAOPass());

// hdr
this.addPass(new ToneMappingPass());
// simple fog with LDR after tone-mapping, atmosphere with HDR before tone-mapping
// this.addPass(new FogPass());

// transparency should after hdr and depth-based shading
// temporary ignore CC_USE_FLOAT_OUTPUT
this.addPass(new ForwardTransparencyPass());

// float output related processing: hdr + fog
this.addPass(new ToneMappingPass());

// user post-processing
this.addPass(new TAAPass());
this.addPass(new FxaaPass());
Expand Down

0 comments on commit 6a8376c

Please sign in to comment.