@tolokoban/tgd
Version:
ToloGameDev library for WebGL2
22 lines • 767 B
TypeScript
import { TgdLight } from "../light";
import { TgdMaterial, type TgdMaterialOptions } from "./material";
export interface TgdMaterialFaceOrientationOptions extends Partial<TgdMaterialOptions> {
light?: TgdLight;
ambient?: TgdLight;
specularExponent?: number;
specularIntensity?: number;
}
/**
* This material is useful to debug meshes.
* The outside faces are blue and the inside one are red.
*/
export declare class TgdMaterialFaceOrientation extends TgdMaterial {
light: TgdLight;
ambient: TgdLight;
specularExponent: number;
specularIntensity: number;
private readonly lightColor;
private readonly ambientColor;
constructor(options?: TgdMaterialFaceOrientationOptions);
}
//# sourceMappingURL=face-orientation.d.ts.map