UNPKG

nanogl-gltf

Version:
12 lines (11 loc) 562 B
import { IExtensionInstance, IExtensionFactory } from "../IExtension"; import GltfLoader from "../../io/GltfLoader"; /** * This extension defines an unlint shading model for use in glTF 2.0 materials, as an alternative to PBR shading. * The Unlit material is a constantly shaded surface that is independent of lighting. * It could be useful for performance issues or for a cartoonish look. */ export default class KHR_materials_unlit implements IExtensionFactory { readonly name: string; createInstance(gltfLoader: GltfLoader): IExtensionInstance; }