getIrradianceAt

fun getIrradianceAt(normal: Vector3, target: Vector3): Vector3

Returns the irradiance (radiance convolved with cosine lobe) in the direction of the given normal.

Return

The irradiance.

Parameters

normal

The normal vector (assumed to be unit length).

target

The target vector that is used to store the method's result.