Skip to content

Commit

Permalink
fix tonemapping size (cocos#17981)
Browse files Browse the repository at this point in the history
  • Loading branch information
star-e authored and qiuguohua committed Nov 28, 2024
1 parent d9faa1b commit bd5dbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/assets/default_renderpipeline/builtin-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd5dbb2

Please sign in to comment.