Optional
toneWhether the shading function should apply tone mapping to the resulting color and if so, which one. Default to 'Khronos'
.
Optional
additionalOptional additional varyings to pass from the vertex shader to the fragment shader.
Optional
chunksAdditional WGSL chunks to add to the shaders.
Geometry used to create the fragment shader. Can use the vertexBuffers properties for vertex colors or tangent/bitangent computations.
Optional
materialThe BufferBindingBaseParams holding the material uniform values. Will use default values if not provided.
Optional
materialThe BufferBindingBaseParams name to use for variables declarations. Default to 'material'
.
Optional
receiveWhether the shading function should account for current shadows. Default to false
.
Optional
baseBase color texture descriptor to use if any.
Optional
normalNormal texture descriptor to use if any.
Optional
emissiveEmissive texture descriptor to use if any.
Optional
occlusionOcclusion texture descriptor to use if any.
Parameters used to build an lambert fragment shader.