ã©ãããåéã§ãã
ä»åã¯Quest3ã®ãã¹ã¹ã«ã¼ã§é¨å±ã®å¤©äºããã¼ãã£ã«ç©ºéã¨ç¹ãã表ç¾ãå®è£ ãã¾ããã
ARã³ã³ãã³ãã¨ãã¦ç¾å®ã¨ãã¼ãã£ã«ãã¤ãªããã¼ã¿ã«ã¯ããããã¾ããããããQuest3åºæã®ã·ã¼ã³ææ¡ã®æ©è½ã¨çµã¿åããã¦ãã£ã¦ã¿ã¾ããã
ãããããã¡ãã®è¨äºãåèã«ããã¦ããã ãã¾ããããããã¨ããããã¾ãã
ã¾ããã¤ã¯ã±ã³ã©ãã®æ¹ã ã«ãã¢ããã¤ã¹ãé ãã¦ããã¾ãåä½ãããã®ãã§ãã¾ããã
- Meta XR All-in-One SDKã®å°å ¥ã¨Building Blocks
- ãããªã¢ã«ãå¤æ´ãã
- çä¼¼Skyboxãä½ã
- ææ³
Meta XR All-in-One SDKã®å°å ¥ã¨Building Blocks
ä»åãBuilding BlocksãSceneMeshãªã©ã®æ©è½ã使ç¨ããã®ã§ä»¥ä¸ã®è¨äºãåèã«å°å ¥ãã¦ãã ããã
MRéçºã§ã¯Meta XR Simulatorã使ãã¨ãã«ãããå¿ è¦ããªããä½æ¥å¹çãä¸ããã®ã§ãã¡ãã試ãã¦ã¿ã¦ãã ããã
ãããªã¢ã«ãå¤æ´ãã
ä¸ã®è¨äºã§Building Blocksã®Camera RigãPassthroughãRoom Modelã追å ããã¨ããã¾ã§ãè¡ã£ã¦ãã ããã
ããã¾ã§ã§ãã¹ã¹ã«ã¼ãããé¨å±ã®å£ãç©ã«éããããªã¢ã«ãä¸æ¸ããããç¶æ ã«ãªãã¨æãã¾ãã
ãããããã¼ãã£ã«ç©ºéãè¦ããããã«ãã¦ããã¾ãã
å£ã®ãããªã¢ã«
OVR Scene Managerã®Plane Prefabã«ã»ããããã¦ãããªãã¸ã§ã¯ãã®ãããªã¢ã«ãå¤æ´ããå¿ è¦ãããã¾ãã
Packages/com.meta.xr.mrutilitykit/Core/Materials/InvisibleOccluder.mat
ãã®ãããªã¢ã«ã«å¤æ´ãããã¨ã§ãéæãªãããªã¢ã«ã§ãããå®éã®é¨å±ã®ãã¹ã¹ã«ã¼ã®ã¿ãæ ãããã¼ãã£ã«å´ã®ãã®ã¯é®è½ããã¦è¦ããªããªãã¾ãã
è£è¶³ããã¨ããã®ãããªã¢ã«ã¯RenderQueueã1998ãªã®ã§ãããã©ã«ã2000ã®å¤ãã®ãªãã¸ã§ã¯ãããå ã«æç»ãããã¨ãããã¨ã«ãªãããã§ãã
天äºã®Plane
天äºã¯æ¬¡ã®Prefabãç¨ãã¾ãã
Packages/com.meta.xr.mrutilitykit/Editor/BuildingBlocks/AnchorColliderSpawner/Prefabs/[BB] InvisiblePlane.prefab
ãã®Planeã¯Meshãç¡ãSceneAnchorã®ã¿ãããã®ã§ããã¼ãã£ã«å´ãè¦ããã¨ãã§ããããã«ãªãã¾ãã(ã¤ã¾ãè¦ãç®ããªã)
次ã«InvisiblePlane PrefabãOVR Scene Managerã®Prefab Overridesã«ã»ãããã¾ãã
ä»åã¯å¤©äºããã¼ãã£ã«ç©ºéã«ãããã®ã§"CEILING"ãæå®ãã¾ãã
ããã¾ã§ã§ããã®ããã«ãã¼ãã£ã«å´ã®ç©ä½ã天äºã«æç»ãããããã«ãªãã¾ãã
ããSkyboxãè¦ãã¾ããã
çä¼¼Skyboxãä½ã
CenterEyeAnchorã®Cameraã®Background TypeãSkyboxã«ããã°Skyboxãæç»ããã¾ãããä»åº¦ã¯ãã¹ã¹ã«ã¼æ åãè¦ããªããªã£ã¦ãã¾ãã®ã§ãæ¬ä¼¼çãªSkyboxãä½ããã¨ã§å¯¾å¿ãã¾ããã
ãã¡ããç¨ãã¦ã巨大ãªçä½å ã«SkyboxTextureãæç»ãã¦ãæ¬ä¼¼çãªSkyboxãä½ããã¨ãã§ãã¾ããã
ããã«ãã£ã¦ãç»åã®ããã«å¤©äºã®å ã«ãã¼ãã£ã«ç©ºéã表示ãããã¨ãã§ãã¾ããï¼
ææ³
ããã¾ã§èªãã§ããã ããããã¨ããããã¾ãã
æå¤ã¨ã·ã³ãã«ãªå®è£
ã§ããããURPãã¤Quest3ã§ã®å®è£
ã¨ãªãã¨ããªããªãè¨äºãè¦ã¤ãããæ§ã
ãªææ³ã試ãã¦ãã£ã¨å®ç¾ã§ããæãã§ã¯ããã¾ãã
å
·ä½çã«ã¯ãRender Textureãã¹ãã³ã·ã«ãã«ã¹ã¿ã Shaderãªã©ãªã©â¦
ç¥ããªãé åã®ç¥èãå¤å°ã¤ããã®ã§ãã¾ãåãéã ã£ããã©è¯ãã£ãããªã¨æãã¾ãã
ãã®è¨äºãåèã«ãªãã°å¹¸ãã§ãã
åèè¨äº
- Meta Quest の パススルー表示とSkyboxの共存 | Knowledge Swimmer メモ
- Meta Quest の パススルーとオクルージョン | Knowledge Swimmer メモ
- MRTKではじめるPortal表現 | ドクセル