Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.69 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.69 KB

WebXR Input Profiles Loader

WebXR Input Profiles Loader in Unity. Based on WebXR Input Profiles.

You can try the demo here.

The package is intended to be used with WebXR exporters in general, and not only with WebXR Export.

The package uses glTFast to load the models, and Unity's package of Newtonsoft Json.NET to parse the profiles.

Downloads

You can get the package from openupm.

Setting package using OpenUPM

Set a Scoped Registry in Project Settings > Package Manager for OpenUPM.

Name: OpenUPM
URL: https://package.openupm.com
Scope(s): com.de-panther

Then in Window > Package Manager selecting Packages: My Registries and the WebXR Input Profiles Loader package would be available for install.

Troubleshooting

You might need to add Shader Variants of the Input Profiles Models to the build for the shaders to work. More info about that can be found at the glTFast docs.

You can use glTFShaderVariantsURP, glTFShaderVariantsLegacyURP or glTFShaderVariantsBuiltInRP in Project Settings > Graphics > Preloaded Shaders depending on the active render pipeline.

Supported WebXR Exporters