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

default function

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

View as Markdown
import { default } from '@dioramajs/glsl/loader'
function default(this: LoaderContext<LoaderOptions>, source: string): void

Parameters

NameTypeDescription
thisLoaderContext<LoaderOptions>
sourcestring

Defined in packages/glsl/src/loader.ts.