Changing textures at runtime
A sample showing how to change a materials texture through a script
A sample showing how to change a materials texture through a script
Example of how to use live HTML and CSS editing.
Sample showing how to load multiple assets at runtime with a progress bar.
Sample showing how to load multiple assets at runtime.
Sample showing how to load an asset at runtime so you don't have to preload it at the start if it is not used.
How to load a Draco compressed GLB.
How to load a GLB as a binary asset.
Sample switching on a model materials at runtime.
Click to focus, hold and release SPACEBAR to switch between two A and B models. Press 'L' to load the C model. Hold 'C' to display the C model.