@webviz/subsurface-viewer
Version:
3D visualization component for subsurface reservoir data
12 lines (11 loc) • 489 B
TypeScript
import type { NumberArray3 } from "@math.gl/types";
import type { ShaderModule } from "@luma.gl/shadertools";
export type PhongMaterialProps = {
ambient?: number;
diffuse?: number;
/** Specularity exponent */
shininess?: number;
specularColor?: NumberArray3;
};
/** In Phong shading, the normal vector is linearly interpolated across the surface of the polygon from the polygon's vertex normals. */
export declare const phongMaterial: ShaderModule<PhongMaterialProps>;