feat(web): support the full shader node add catalog
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Extend the native editShaderNode ADD map, setShaderGraph allowlist and
blend-reader readback for the remaining 10 advertised node types; update
SceneIR and the catalog. Verified Noise Texture and Emission creation.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 07:38:30 +08:00
parent 9499664892
commit 71a8e8c95e
9 changed files with 61 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"task": "WBV2-P1425-001",
"updatedAt": "2026-11-14T07:29:00+08:00",
"updatedAt": "2026-11-14T07:38:00+08:00",
"status": "in_progress",
"focus": "COMPLETE-TUTORIAL-001 backend export gap (USD/Alembic)",
"breakpoint": "blender-5.2.0/source/blender/web_engine/CMakeLists.txt (USD wiring); WASM 6ee2b261",
@@ -224,5 +224,17 @@
"note": "undo button was visually intercepted by the workspace toolbar at the automated scroll position; programmatic click succeeded, no defect claimed",
"script": "tools/web/complete/probe-texture-paint.mjs",
"acceptance": "NOT_CLAIMED"
},
"shaderNodeCatalogFix": {
"files": [
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
"web/protocol/scene-ir.ts",
"web/app/src/app/ui/shader-node-catalog.ts"
],
"before": "adding Noise Texture failed with SHADER_NODE_UNSUPPORTED (only 14 of 24 catalog types in the native ADD map)",
"after": "Noise Texture 2→3 (ShaderNodeTexNoise); Emission 2→3 (ShaderNodeEmission)",
"wasmSha256": "fc6d0cb1a0f4f003dd7317f8d0143d7d16790c9f5f1f3120f359ac6af9aefe36",
"acceptance": "NOT_CLAIMED"
}
}