UNPKG

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