Tex.CubemapLighting

SphericalHarmonics CubemapLighting{ get }

Description

ONLY valid for cubemap textures! This will calculate a spherical harmonics representation of the cubemap for use with StereoKit’s lighting. First call may take a frame or two of time, but subsequent calls will pull from a cached value.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!