const ShaderFlatMaterial: LC<ShaderFlatMaterialProps>
ShaderModule<any>
Flat shader, for both lit and unlit passes (e.g. shadow map).
fn getFragment(color: vec4, uv: vec4, st: vec4) -> vec4 render?
(
material: Record<string,
Record<string, | undefined | ParsedBundle<any> | ParsedModule<any> | StorageSource | LambdaSource<ShaderModule<any>> | TextureSource | null | undefined>>,
) => LiveElement<ArrowFunction>
packages / workbench / src / material / shader-flat-material.ts