From ffa86fb333da8bfb1b3fbe92a38e58dd08100ff4 Mon Sep 17 00:00:00 2001 From: Zhou Zhenglong Date: Thu, 28 Nov 2024 10:43:42 +0800 Subject: [PATCH] fix tonemapping size --- editor/assets/default_renderpipeline/builtin-pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/assets/default_renderpipeline/builtin-pipeline.ts b/editor/assets/default_renderpipeline/builtin-pipeline.ts index d12d4ced141..2d14211d474 100644 --- a/editor/assets/default_renderpipeline/builtin-pipeline.ts +++ b/editor/assets/default_renderpipeline/builtin-pipeline.ts @@ -1211,7 +1211,7 @@ export class BuiltinToneMappingPassBuilder implements rendering.PipelinePassBuil assert(cameraConfigs.remainingPasses >= 0); if (cameraConfigs.remainingPasses === 0) { return this._addCopyAndTonemapPass(ppl, pplConfigs, cameraConfigs, - cameraConfigs.width, cameraConfigs.height, + cameraConfigs.nativeWidth, cameraConfigs.nativeHeight, context.colorName, cameraConfigs.colorName); } else { const id = cameraConfigs.renderWindowId;