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/vite

Vite plugin that turns .frag files into effects.

View as Markdown
On this page
import { bindingTable, glsl } from '@dioramajs/glsl/vite'

Functions

bindingTableOne line per file: `wave.frag: uTexture→media, uShade→param:shade, vWave→varying`.
glslVite plugin that turns GLSL files into TSL shaders and effects on import.

Interfaces

GlslPluginOptionsOptions of the `glsl` Vite plugin.