playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
15 lines (14 loc) • 428 B
JavaScript
import { LitShaderOptions } from "../shader-lib/programs/lit-shader-options.js";
class LitMaterialOptions {
// array of booleans indicating which UV channels are used by the material
usedUvs;
// custom GLSL shader chunk to be added to the shader
shaderChunkGLSL;
// custom WGSL shader chunk to be added to the shader
shaderChunkWGSL;
// lit options
litOptions = new LitShaderOptions();
}
export {
LitMaterialOptions
};