UNPKG

@thi.ng/webgl

Version:

WebGL & GLSL abstraction layer

5 lines 331 B
import type { Material } from "../api/material.js"; import type { ShaderPresetOpts, ShaderSpec } from "../api/shader.js"; export type PhongOpts = ShaderPresetOpts<Pick<Material, "ambientCol" | "diffuseCol" | "specularCol">>; export declare const PHONG: (opts?: Partial<PhongOpts>) => ShaderSpec; //# sourceMappingURL=phong.d.ts.map