Skip to content

Commit

Permalink
Update GeometryPass.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Dec 2, 2023
1 parent 504d607 commit 587b862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/passes/GeometryPass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class GeometryPass extends Pass implements Selective {
override set renderer(value: WebGLRenderer | null) {

super.renderer = value;
this.updateOutputColorSpace();
this.updateOutputBufferColorSpace();

}

Expand Down Expand Up @@ -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)) {

Expand Down Expand Up @@ -395,7 +395,7 @@ export class GeometryPass extends Pass implements Selective {
}

this.output.defaultBuffer = renderTarget;
this.updateOutputColorSpace();
this.updateOutputBufferColorSpace();

}

Expand Down

0 comments on commit 587b862

Please sign in to comment.