UNPKG

@threlte/extras

Version:

Utilities, abstractions and plugins for your Threlte apps

21 lines (20 loc) 443 B
import type { Props } from '@threlte/core'; import type { ShaderMaterial, ColorRepresentation } from 'three'; export type FakeGlowMaterialProps = Props<ShaderMaterial> & { /** * @default 0.1 */ falloff?: number; /** * @default 6.0 */ glowInternalRadius?: number; /** * @default 'green' */ glowColor?: ColorRepresentation; /** * @default 1.0 */ glowSharpness?: number; };