Companion

object Companion

Functions

Link copied to clipboard
fun getColorEstimate(sh: FloatArray, x: Float, y: Float, z: Float, out: FloatArray? = null): FloatArray

Helper to estimate the color and relative intensity of the environment represented by spherical harmonics in a given direction.

Link copied to clipboard

Helper to estimate the direction of the dominant light in the environment represented by spherical harmonics.