const ShaderFlatMaterial: LC<ShaderFlatMaterialProps>
ShaderModule
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 | StorageSource | ParsedBundle<any> | ParsedModule<any> | LambdaSource<ShaderModule<any>> | TextureSource | null | undefined>>,
) => LiveElement
children?
| LiveElement
| (material: Record<string, Record<string, | undefined | StorageSource | ParsedBundle<any> | ParsedModule<any> | LambdaSource<ShaderModule<any>> | TextureSource | null | undefined>>) => LiveElement
packages / workbench / src / material / shader-flat-material.ts