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

TextureOptions interface

Options of `ctx.texture`.

View as Markdown
import type { TextureOptions } from '@dioramajs/diorama/effects'
interface TextureOptions

Members

NameTypeDescription
readonly colorSpace?'srgb' | 'linear'

Default 'srgb'. Depth maps and noise are 'linear'.

readonly priority?'low' | 'high' | 'normal'

Default 'normal'.

Also exported from @dioramajs/effects.

Defined in packages/effects/src/types.ts.