diff --git a/src/postprocessing/RenderPixelatedPass.d.ts b/src/postprocessing/RenderPixelatedPass.d.ts index 45ce00bf..093910c4 100644 --- a/src/postprocessing/RenderPixelatedPass.d.ts +++ b/src/postprocessing/RenderPixelatedPass.d.ts @@ -8,7 +8,13 @@ export interface RenderPixelatedPassParameters { } export class RenderPixelatedPass extends Pass { - constructor(pixelSize: number, scene: Scene, camera: Camera, options?: RenderPixelatedPassParameters) + constructor( + resolution: Vector2, + pixelSize: number, + scene: Scene, + camera: Camera, + options?: RenderPixelatedPassParameters, + ) pixelSize: number resolution: Vector2 renderResolution: Vector2 @@ -23,6 +29,6 @@ export class RenderPixelatedPass extends Pass { normalEdgeStrength: RenderPixelatedPassParameters['normalEdgeStrength'] depthEdgeStrength: RenderPixelatedPassParameters['depthEdgeStrength'] - beautyRenderTarget: WebGLRenderTarget + rgbRenderTarget: WebGLRenderTarget normalRenderTarget: WebGLRenderTarget }