Improve AR menu with multi-dish support, 3D ingredients, and shared sky HDRI.

Fix AR export/visibility per dish, load catalog GLBs at runtime, and replace per-dish HDR with one overcast sky environment for the whole menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pelpanagiotis
2026-06-23 20:42:20 +03:00
parent d632c583d4
commit beb8261554
37 changed files with 855 additions and 61 deletions

View File

@@ -10,10 +10,14 @@ onStart((context) => {
let webxr = context.scene.getComponentInChildren(WebXR);
if (!webxr) {
webxr = context.scene.addComponent(WebXR);
webxr.createARButton = true;
webxr.createVRButton = true;
}
// Unity-exported WebXR often serializes these off; only the `if (!webxr)` branch used to set them,
// which hid Enter AR / Enter VR / Send to Quest in NeedleMenu for exported scenes.
webxr.createARButton = true;
webxr.createVRButton = true;
webxr.createSendToQuestButton = true;
webxr.autoPlace = true;
webxr.autoCenter = true;
webxr.arScale = 1;