From 587b862a42a2053e15684d468deb3fb49a1525d3 Mon Sep 17 00:00:00 2001 From: "Raoul v. R" Date: Sat, 2 Dec 2023 13:48:26 +0100 Subject: [PATCH] Update GeometryPass.ts --- src/passes/GeometryPass.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/passes/GeometryPass.ts b/src/passes/GeometryPass.ts index 4bf46ee1e..fad2f5720 100644 --- a/src/passes/GeometryPass.ts +++ b/src/passes/GeometryPass.ts @@ -166,7 +166,7 @@ export class GeometryPass extends Pass implements Selective { override set renderer(value: WebGLRenderer | null) { super.renderer = value; - this.updateOutputColorSpace(); + this.updateOutputBufferColorSpace(); } @@ -296,7 +296,7 @@ export class GeometryPass extends Pass implements Selective { * Updates the color space of the output color texture. */ - private updateOutputColorSpace(): void { + private updateOutputBufferColorSpace(): void { if(!this.gBufferComponents.has(GBuffer.COLOR)) { @@ -395,7 +395,7 @@ export class GeometryPass extends Pass implements Selective { } this.output.defaultBuffer = renderTarget; - this.updateOutputColorSpace(); + this.updateOutputBufferColorSpace(); }