Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/De-Panther/webxr-input-profiles-loader
WebXR Input Profiles Loader in Unity. Based on https://github.com/immersive-web/webxr-input-profiles
https://github.com/De-Panther/webxr-input-profiles-loader
gltf unity webgl webxr
Last synced: 3 months ago
JSON representation
WebXR Input Profiles Loader in Unity. Based on https://github.com/immersive-web/webxr-input-profiles
- Host: GitHub
- URL: https://github.com/De-Panther/webxr-input-profiles-loader
- Owner: De-Panther
- License: mit
- Created: 2020-11-21T08:01:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T19:28:18.000Z (10 months ago)
- Last Synced: 2024-04-23T02:40:57.215Z (7 months ago)
- Topics: gltf, unity, webgl, webxr
- Language: C#
- Homepage:
- Size: 40.7 MB
- Stars: 17
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebXR Input Profiles Loader
WebXR Input Profiles Loader in Unity. Based on [WebXR Input Profiles](https://github.com/immersive-web/webxr-input-profiles).
You can [try the demo here](https://de-panther.github.io/webxr-input-profiles-loader/).
The package is intended to be used with WebXR exporters in general, and not only with [WebXR Export](https://github.com/De-Panther/unity-webxr-export).
The package uses [glTFast](https://docs.unity3d.com/Packages/com.unity.cloud.gltfast@latest) to load the models, and Unity's package of [Newtonsoft Json.NET](https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@latest) to parse the profiles.
## Downloads
You can get the package from [![openupm](https://img.shields.io/npm/v/com.de-panther.webxr-input-profiles-loader?label=openupm®istry_uri=https://package.openupm.com)](https://openupm.com/packages/com.de-panther.webxr-input-profiles-loader/).
### 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
- [WebXR Export](https://github.com/De-Panther/unity-webxr-export).