lamina
Version:
🍰 An extensable, layer based shader material for ThreeJS.
17 lines (16 loc) • 520 B
TypeScript
import { GradientProps, MappingType } from '../types';
import Abstract from './Abstract';
export default class Gradient extends Abstract {
static u_colorA: string;
static u_colorB: string;
static u_alpha: number;
static u_start: number;
static u_end: number;
static u_contrast: number;
static vertexShader: string;
static fragmentShader: string;
axes: 'x' | 'y' | 'z';
mapping: MappingType;
constructor(props?: GradientProps);
private static getMapping;
}