radiance

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Coefficients are raw radiance values (not pre-convolved). The builder automatically convolves them and applies the Lambertian BRDF.

Return

This Builder, for chaining calls

Parameters

bands

Number of SH bands (1, 2, or 3)

sh

Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)

expect fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Coefficients are raw radiance values (not pre-convolved). The builder automatically convolves them and applies the Lambertian BRDF.

Return

This Builder, for chaining calls

Parameters

bands

Number of SH bands (1, 2, or 3)

sh

Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Coefficients are raw radiance values (not pre-convolved). The builder automatically convolves them and applies the Lambertian BRDF.

Return

This Builder, for chaining calls

Parameters

bands

Number of SH bands (1, 2, or 3)

sh

Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Coefficients are raw radiance values (not pre-convolved). The builder automatically convolves them and applies the Lambertian BRDF.

Return

This Builder, for chaining calls

Parameters

bands

Number of SH bands (1, 2, or 3)

sh

Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Coefficients are raw radiance values (not pre-convolved). The builder automatically convolves them and applies the Lambertian BRDF.

Return

This Builder, for chaining calls

Parameters

bands

Number of SH bands (1, 2, or 3)

sh

Array of 3D coefficients; size = bands² (1, 4, or 9 float3 values)