@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
8 lines (7 loc) • 320 B
TypeScript
import { ColorCount } from '../models/ColorCount';
import * as THREE from 'three';
export declare function createQuantizedColorPalette(levels: number): THREE.Color[];
/**
* Creates a color palette based on the specified color count
*/
export declare function createColorPalette(colorCount: ColorCount): THREE.Color[];