Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

@dioramajs/glsl/loader

webpack 5 and Turbopack loader for .frag files.

View as Markdown
On this page
import { default } from '@dioramajs/glsl/loader'

Functions

defaultWebpack and Turbopack loader that turns GLSL files into TSL shaders and effects.

Interfaces

LoaderContextThe subset of webpack's loader context we use. Turbopack implements it too.
LoaderOptionsOptions of the webpack and Turbopack loader.

Types

LoaderModeWhat an import returns: the shader, an effect, or a lazy registry entry.