As irradiance map is generated for every possible normal for all the texels in environment map (as every texel act as a light source) so that we can look up irradiance map, based on normal of fragment to find out its resulting illumination.
When Irradiance map is generated, does it get generated for every object in the scene to capture all possible normal and then eventually combined in a single texture?
Is there any example code to create irradiance map and use it to light the scene?
Any one has an example of CG-shader for reading irradiance map?
Thanks