UNPKG

@mesmotronic/three-retropass

Version:

RetroPass applies a retro aesthetic to your Three.js project, emulating the visual style of classic 8-bit and 16-bit games

16 lines (15 loc) 414 B
import { ColorCount } from './ColorCount'; import * as THREE from 'three'; /** * Interface for RetroPass constructor parameters */ export interface RetroPassParameters { resolution?: THREE.Vector2; autoResolution?: boolean; colorCount?: ColorCount; colorPalette?: THREE.Color[]; dithering?: boolean; pixelRatio?: number; ditheringOffset?: number; autoDitheringOffset?: boolean; }