/wonderland-engine-examples

Examples for Wonderland Engine -- development platform for VR, AR and 3D on the web.

Primary LanguageJavaScript

build

Wonderland Engine Examples

Repository of official examples for Wonderland Engine, development platform for VR, AR and 3D on the web.

License

The code and .wlp files in this repository are licensed under the MIT License (use for commercial purposes, no warranty, attribution required).

The assets (images, 3D models, audio files) underly individual licenses, please check the respective examples.

Examples

Find a list of all examples below, you can find them live in the Wonderland Engine Showcase.

animation

Simple example of how to play animations from a GLTF file on click interaction.

View Live

ar-cursor

Simple setup for a mobile AR cursor that uses world intersections for placement.

View Live

collision

Simple example of how to query collider overlaps.

View Live

custom-shader

Example of a custom shader for fake reflections.

View Live

hand-tracking

Simple example of how to set up hand tracking for the Meta Quest / Meta Quest 2

View Live

hand-tracking-mesh

Simple example of hand tracking with a skinned hand mesh for the Meta Quest / Meta Quest 2.

View Live

height-map

Demonstrates runtime mesh generation through the JavaScript API.

View Live

matcap-shader

Simple implementation of a matcap shader with various materials.

View Live

materials

Demonstrates built-in materials and pipeline features.

View Live

mesh-particles

A basic implementation of particles as custom JavaScript component.

View Live

normal-maps

Example showing off Normal Map support.

View Live

playbook-xr

Very basic example of import of UI exported from Playbook XR.

View Live

physics

Simple demonstration of Physics via PhysX in Wonderland Engine.

View Live

scene-optimization

Example of automatic optimization of a draw-call heavy scene.

View Live

skinning

Simple example of skinning in Wonderland Engine.

View Live

smoke-particles

Example of how to set up a basic smoke particle effect.

View Live

sponza

A classic in graphics programming.

View Live

teleport

Implementation of a teleport mechanic.

View Live

text

Simple example of how to set up text rendering.

View Live

video

Simple demo of a video texture.

View Live