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.
ar-cursor
Simple setup for a mobile AR cursor that uses world intersections for placement.
collision
Simple example of how to query collider overlaps.
custom-shader
Example of a custom shader for fake reflections.
hand-tracking
Simple example of how to set up hand tracking for the Meta Quest / Meta Quest 2
hand-tracking-mesh
Simple example of hand tracking with a skinned hand mesh for the Meta Quest / Meta Quest 2.
height-map
Demonstrates runtime mesh generation through the JavaScript API.
matcap-shader
Simple implementation of a matcap shader with various materials.
materials
Demonstrates built-in materials and pipeline features.
mesh-particles
A basic implementation of particles as custom JavaScript component.
normal-maps
Example showing off Normal Map support.
physics
Simple demonstration of Physics via PhysX in Wonderland Engine.
scene-optimization
Example of automatic optimization of a draw-call heavy scene.
skinning
Simple example of skinning in Wonderland Engine.
smoke-particles
Example of how to set up a basic smoke particle effect.
sponza
A classic in graphics programming.
teleport
Implementation of a teleport mechanic.
text
Simple example of how to set up text rendering.
video
Simple demo of a video texture.