You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/xr/deploying_to_android.rst
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ Before following the OpenXR-specific instructions here, you'll need to first set
16
16
See :ref:`doc_exporting_for_android` for the full details, and return here when you've finished these steps.
17
17
18
18
.. warning::
19
+
19
20
While the Mobile Vulkan renderer has many optimizations targeted at mobile devices, we're still working out the kinks.
20
21
It is highly advisable to use the compatibility renderer (OpenGL) for the time being when targeting Android based XR devices.
21
22
22
23
Gradle Android build
23
24
--------------------
24
25
25
26
.. note::
27
+
26
28
Official support for the Android platform wasn't added to the OpenXR specification initially resulting in various vendors creating custom loaders to make OpenXR available on their headsets.
27
29
While the long term expectation is that all vendors will adopt the official OpenXR loader, for now these loaders need to be added to your project.
28
30
@@ -51,6 +53,13 @@ file into your projects `addons` folder.
51
53
52
54
You can find the main repository of the vendors plugin `here <https://github.com/GodotVR/godot_openxr_vendors>`__.
53
55
56
+
.. note::
57
+
58
+
From Godot 4.6 onwards, the vendor plugin is now an optional but recommended plugin.
59
+
Godot can export directly to most Android-compatible devices.
60
+
This can be useful for demonstration and tutorial projects where a single APK can be deployed to multiple devices.
61
+
The vendor plugin unlocks vendor specific implementations and settings, and may be required to release on app stores.
62
+
54
63
Creating the export presets
55
64
---------------------------
56
65
You will need to setup a separate export preset for each device, as each device will need its own loader included.
@@ -59,12 +68,12 @@ Open **Project** and select **Export..**.
59
68
Click on **Add..** and select **Android**.
60
69
Next change the name of the export preset for the device you're setting this up for, say **Meta Quest**.
61
70
And enable **Use Gradle Build**.
71
+
Next change the **XR Mode** to **OpenXR**.
62
72
If you want to use one-click deploy (described below), ensure that **Runnable** is enabled.
63
73
64
-
If the vendors plugins were installed correctly you should find entries for the
65
-
different headsets under **XR Features**. Change the **XR Mode** to **OpenXR**, then
66
-
select the entry for your headset if you see one. If you don't see one enable the
67
-
Khronos plugin.
74
+
If you've installed the vendor plugin you will also find entries for the different headsets under **XR Features**.
75
+
Select the entry for your headset, if you see one.
Copy file name to clipboardExpand all lines: tutorials/xr/setting_up_xr.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ well optimized for XR right now compared to the other two.
45
45
OpenXR
46
46
------
47
47
48
-
OpenXR is a new industry standard that allows different XR platforms to present themselves through a standardised API to XR applications. This standard is an open standard maintained by the Khronos Group and thus aligns very well with Godot's interests.
48
+
OpenXR is a new industry standard that allows different XR platforms to present themselves through a standardized API to XR applications. This standard is an open standard maintained by the Khronos Group and thus aligns very well with Godot's interests.
49
49
50
50
The Vulkan implementation of OpenXR is closely integrated with Vulkan, taking over part of the Vulkan system. This requires tight integration of certain core graphics features in the Vulkan renderer which are needed before the XR system is setup. This was one of the main deciding factors to include OpenXR as a core interface.
0 commit comments