From bd5dbb2d4488a6ce74645c69f574444891e30a5d Mon Sep 17 00:00:00 2001 From: hyde zhou Date: Thu, 28 Nov 2024 13:45:21 +0800 Subject: [PATCH] fix tonemapping size (#17981) --- 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;