UNPKG

560 BTypeScriptView Raw
1import { IUniform } from './UniformsLib';
2
3export interface Shader {
4 uniforms: { [uniform: string]: IUniform };
5 vertexShader: string;
6 fragmentShader: string;
7}
8
9export let ShaderLib: {
10 [name: string]: Shader;
11 basic: Shader;
12 lambert: Shader;
13 phong: Shader;
14 standard: Shader;
15 matcap: Shader;
16 points: Shader;
17 dashed: Shader;
18 depth: Shader;
19 normal: Shader;
20 sprite: Shader;
21 background: Shader;
22 cube: Shader;
23 equirect: Shader;
24 distanceRGBA: Shader;
25 shadow: Shader;
26 physical: Shader;
27};