Fixing
SkyMagic's Diffuse Global Illumination. This was broken for a
long time, it was always using the spherical harmonics setup from the build-in Museum sky, not from the imported SkyMagic sky.
More than a year back I looked at this but couldn't get it working. Now
@hazmhox managed to convince
@meshedvr to have a look, who indeed managed to figure out the missing pieces. The culprit was bad Unity API that doesn't throw errors when it should
Note that, just as with VaM build-in skies, Diffuse Global Illumination is only applied to VaM native assets (such as characters and build-in assets) but not on CustomUnityAssets.
Changelog
- SkyMagic: Fixed spherical harmonics.
- SkyMagic Demo: Updated demo scene.