Skip to content

[break] feat(scene): add Light Probe and Lightmap baking support - #895

Merged
star-e merged 74 commits into
cocos:mainfrom
xubing0906:main-light-probe-bake
Sep 12, 2026
Merged

star-e merged 74 commits into
cocos:mainfrom
xubing0906:main-light-probe-bake

Conversation

@xubing0906

@xubing0906 xubing0906 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR covers invoking the baking tool, binding and saving results, cleanup, cancellation, and querying bake information. It also addresses probe editing, Undo/Redo, and Terrain bake-result restoration issues identified during integration testing with Pink.

The [break] tag reflects a public API change: deleteSelectedLightProbes() and duplicateSelectedLightProbes() now return Promise<number> instead of number, ensuring Undo recording completes before returning the result. Callers must use await to obtain the affected probe count. The newly added baking APIs are additive and do not introduce breaking changes themselves.

@xubing0906 xubing0906 added the pending Not ready yet label Aug 29, 2026
# Conflicts:
#	packages/cocos-cli-types/__tests__/__snapshots__/dts-snapshot.test.ts.snap
#	src/api/scene/scene.ts
#	src/core/scene/common/index.ts
#	src/core/scene/main-process/index.ts
#	src/core/scene/scene-process/service/interfaces.ts
# Conflicts:
#	src/core/scene/main-process/index.ts
# Conflicts:
#	src/core/scene/main-process/index.ts
#	src/core/scene/main-process/scene-host-local-executor.ts
#	src/core/scene/scene-process/engine-bootstrap.ts
@xubing0906 xubing0906 removed the pending Not ready yet label Sep 10, 2026
@xubing0906
xubing0906 requested a review from star-e September 10, 2026 07:03
zenoskongfu and others added 21 commits September 11, 2026 16:28
[break] fix(lighting): 完善烘焙一致性、输出目录与资产清理
# Conflicts:
#	packages/cocos-cli-types/__tests__/__snapshots__/dts-snapshot.test.ts.snap
@xubing0906 xubing0906 closed this Sep 12, 2026
@xubing0906 xubing0906 reopened this Sep 12, 2026
@xubing0906 xubing0906 changed the title feat(scene): add Light Probe and Lightmap baking support [break] feat(scene): add Light Probe and Lightmap baking support Sep 12, 2026
@star-e
star-e merged commit 2a2d394 into cocos:main Sep 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants