You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to formally define the integration of irradiance in XRLightProbe's sphericalHarmonicsCoefficients and its relationship with the discrete samples accessed by XRReflectionProbe
#18
Open
kearwood opened this issue
Feb 4, 2020
· 0 comments
XRReflectionProbe's cube map should be described as representing discrete samples of incoming light, integrated only over the area represented by the pixel at each mip level.
XRLightProbe's sphericalHarmonicsCoefficients represent the samples that would be sampled by a fully diffuse material. The integration for the SH would be defined as covering a semi-sphere centered around the incoming light vector. For such a wide integration, 9 SH coefficients are able to reach 1% accuracy for any particular vector.
It is possible to accurately generate XRLightProbe SH coefficients from an XRReflectionProbe's cube map though integration of semi-sphere's; however, the reverse conversion can only represent a low frequency detail approximation.
The text was updated successfully, but these errors were encountered:
XRReflectionProbe's cube map should be described as representing discrete samples of incoming light, integrated only over the area represented by the pixel at each mip level.
XRLightProbe's sphericalHarmonicsCoefficients represent the samples that would be sampled by a fully diffuse material. The integration for the SH would be defined as covering a semi-sphere centered around the incoming light vector. For such a wide integration, 9 SH coefficients are able to reach 1% accuracy for any particular vector.
It is possible to accurately generate XRLightProbe SH coefficients from an XRReflectionProbe's cube map though integration of semi-sphere's; however, the reverse conversion can only represent a low frequency detail approximation.
The text was updated successfully, but these errors were encountered: