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

formatDiagnostic function

`wave.frag:12:5 error GLSL_INOUT message`, then the hint, the page of the code and the frame.

View as Markdown
import { formatDiagnostic } from '@dioramajs/glsl/convert'
function formatDiagnostic(
  diagnostic: GlslDiagnostic,
  withFrame?: boolean,
): string

Parameters

NameTypeDescription
diagnosticGlslDiagnostic
withFrame?boolean

Default false.

Defined in packages/glsl/src/convert/errors.ts.