Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/rendering/tsl/PostProcessing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ export class RenderPipeline {
radius: this.config.aoRadius,
intensity: this.config.aoIntensity,
samples: 32, // Higher samples = less visible dithering pattern
useTemporalFiltering: this.config.taaEnabled, // Smooth AO over frames when TAA is on
},
scenePassNormal
);
Expand Down
6 changes: 0 additions & 6 deletions src/rendering/tsl/effects/EffectPasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export interface GTAOConfig {
radius: number;
intensity: number;
samples?: number; // Number of AO samples (higher = better quality, more expensive)
useTemporalFiltering?: boolean; // Enable temporal filtering to reduce noise (requires TAA)
}

export interface SSRConfig {
Expand Down Expand Up @@ -214,11 +213,6 @@ export function createGTAOPass(
if (aoPass.samples) {
aoPass.samples.value = config.samples ?? 32;
}
// Enable temporal filtering to reduce noise when TAA is available
// This smooths the AO over multiple frames, eliminating the stipple pattern
if (config.useTemporalFiltering !== undefined) {
aoPass.useTemporalFiltering = config.useTemporalFiltering;
}
const aoValueNode = aoPass.getTextureNode().r;

return { pass: aoPass, aoValueNode };
Expand Down
Loading