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

texture const

A Texture over the pixels of the `image` entry with the same URL and CORS mode, which a preload or an effect may have decoded already.

View as Markdown
import { texture } from '@dioramajs/assets/three'

. Origin bottom-left like effects textures. options.colorSpace is 'srgb' (default), 'linear' or 'none' for data maps.

const texture: AssetLoader<Texture>

Defined in packages/assets/src/three/texture.ts.