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
baseBase color texture descriptor to use if any.
Parameters used to build an unlit fragment shader.