irradiance
Sets the irradiance from pre-convolved spherical harmonics coefficients.
Coefficients must already be pre-scaled by the reconstruction factors and the Lambertian diffuse BRDF (1/π). Generate with the cmgen tool.
Return
This Builder, for chaining calls
Parameters
Number of SH bands (1, 2, or 3)
Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)
See also
Sets the irradiance cubemap (for diffuse lighting only).
If not provided, irradiance is computed automatically from the reflections cubemap.
Return
This Builder, for chaining calls
Parameters
Cubemap texture for irradiance (or null to clear)
Sets the irradiance from pre-convolved spherical harmonics coefficients.
Coefficients must already be pre-scaled by the reconstruction factors and the Lambertian diffuse BRDF (1/π). Generate with the cmgen tool.
Return
This Builder, for chaining calls
Parameters
Number of SH bands (1, 2, or 3)
Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)
See also
Sets the irradiance cubemap (for diffuse lighting only).
If not provided, irradiance is computed automatically from the reflections cubemap.
Return
This Builder, for chaining calls
Parameters
Cubemap texture for irradiance (or null to clear)
Sets the irradiance from pre-convolved spherical harmonics coefficients.
Coefficients must already be pre-scaled by the reconstruction factors and the Lambertian diffuse BRDF (1/π). Generate with the cmgen tool.
Return
This Builder, for chaining calls
Parameters
Number of SH bands (1, 2, or 3)
Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)
See also
Sets the irradiance cubemap (for diffuse lighting only).
If not provided, irradiance is computed automatically from the reflections cubemap.
Return
This Builder, for chaining calls
Parameters
Cubemap texture for irradiance (or null to clear)
Sets the irradiance from pre-convolved spherical harmonics coefficients.
Coefficients must already be pre-scaled by the reconstruction factors and the Lambertian diffuse BRDF (1/π). Generate with the cmgen tool.
Return
This Builder, for chaining calls
Parameters
Number of SH bands (1, 2, or 3)
Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)
See also
Sets the irradiance cubemap (for diffuse lighting only).
If not provided, irradiance is computed automatically from the reflections cubemap.
Return
This Builder, for chaining calls
Parameters
Cubemap texture for irradiance (or null to clear)
Sets the irradiance from pre-convolved spherical harmonics coefficients.
Coefficients must already be pre-scaled by the reconstruction factors and the Lambertian diffuse BRDF (1/π). Generate with the cmgen tool.
Return
This Builder, for chaining calls
Parameters
Number of SH bands (1, 2, or 3)
Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)
See also
Sets the irradiance cubemap (for diffuse lighting only).
If not provided, irradiance is computed automatically from the reflections cubemap.
Return
This Builder, for chaining calls
Parameters
Cubemap texture for irradiance (or null to clear)