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

6 lines (5 loc) 166 B
import * as THREE from 'three'; /** * Convert THREE.Color[] to DataTexture */ export declare function createColorTexture(colors: THREE.Color[]): THREE.DataTexture;