Optional
shadingShading model to use.
Optional
chunksAdditional WGSL chunks to add to the shaders.
Optional
additionalAdditional WGSL chunk to add to the fragment shader head.
Optional
preliminaryPreliminary modification to apply to the fragment shader color
vec4f
variable before applying any lightning calculations.
Optional
additionalAdditional modification to apply to the fragment shader color
vec4f
variable before returning it.
Optional
iblAdditional IBL parameters to pass as uniform and textures.
Optional
diffuseEnvironment diffuse strength. Default to 0.5
.
Optional
specularEnvironment specular strength. Default to 0.5
.
Optional
environmentEnvironmentMap to use for IBL shading.
Parameters used to build the shaders