@luma.gl/shadertools
Version:
Shader module system for luma.gl
10 lines • 463 B
TypeScript
import { ShaderModule } from "../../../lib/shader-module/shader-module.js";
/** Uniform props for the built-in diffuse-only Lambert material model. */
export type LambertMaterialProps = {
unlit?: boolean;
ambient?: number;
diffuse?: number;
};
/** A matte material model that applies diffuse-only Lambert lighting per fragment. */
export declare const lambertMaterial: ShaderModule<LambertMaterialProps>;
//# sourceMappingURL=lambert-material.d.ts.map