asmaloney / godot-xr-tools

Support scenes for AR and VR in Godot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot XR Tools

GitHub forks GitHub Repo stars GitHub contributors GitHub

This repository contains a number of support files and support scenes that can be used together with the various AR and VR interfaces for the Godot game engine.

Versions

Official releases are tagged and can be found here.

The following branches are in active development:

Branch Description Godot version
master Current development branch Godot 3.5+
4.0-dev Future development branch Godot 4.0

How to Use

Information about how to use this plugin can be found on the website.

Demo

This repository now contains a full demo for XR Tools with the XR Tools add on included in this demo.

After cloning this repository you will need to install the OpenXR plugin for it to work. The OpenXR plugin is not included within this repository. You can obtain the OpenXR plugin here or download it from the asset library within Godot.

XR Tools library

To obtain just the XR Tools library for your own project, please check releases or download it from the asset library within Godot.

Preventing hickups

As many of the functions in this module will hide objects that are later shown as the user performs actions, the user will experience a hickup as Godot compiles the shader used to draw the object on screen.

To combat this you will find a scene in this module called misc/vr_common_shader_cache.tscn. Add this scene as a child node to your ARVRCamera. This will trigger the required shaders being compiled the first time your main scene loads.

Licensing

Code in this repository is licensed under the MIT license. Images are licensed under CC0 unless otherwise specified.

See the full license inside of the addons folder.

About this repository

This repository was created by Bastiaan Olij a.k.a. Mux213

It is primarily maintained by:

For further contributors please see CONTRIBUTORS.md

Further resources:

About

Support scenes for AR and VR in Godot

License:MIT License


Languages

Language:GDScript 99.6%Language:GLSL 0.4%