spherical harmonics lighting toolkit, including:
- sh_sampler: sample environment map to spherical harmonics coefficients
- sh_lighting: spherical harmonics lighting visualization tool
Usage:
sh_sampler posx negx posy negy posz negz sh_coef.txt
sh_lighting posx negx posy negy posz negz sh_coef.txt objfile
or use the scrips: scrips/run.bat