Hey guys,
I'm curious what you think about this problem.
Let's say I want to blend light probe's together in a deferred way.
The way I read it is finding out which probes are visible on screen (basically frustum cull them) and then blend K-LightProbes together.
Now I guess we obviously need to limit this to a fairly low number like let's say 4 ? How would I determine which 4 light probes these are? Compare distance of shaded pixel in WS to light probe WS pos ?
Having captured a cubemap for both specular and diffuse reflections this would already mean we need to sample 8 cubemaps just to blend them.
However let's assume I want to capture 4 cubemaps for key daytime intervals (sunrise / noon / sunset / night) that's 4 variations of the same cubemap meaning in total we would have to sample 2 * 4 * 4 = 32 cubemaps ! only to blend 4 light probes together. I haven't actually tested it yet to see how real world performance would be but it seems a bit insane to me in theory. That's also 32 shader resource slots I'd have to fill...
Is there a better / faster way to do this ?