Tutorial: Light Function Atlas

Seriously awesome work, I’m shocked this wasn’t highlighted in the release notes for 5.4, I had no idea this was even added til I spotted this tutorial on the learning hub.

I was hoping you could elaborate on what you mean by this statement?

UVs should not be manipulated in order to sample a texture. Or the UV manipulation has to be aligned to the texture space edges of the light function. Otherwise, the atlas slot will not be repeatable.

I did some quick tests with panning/rotating coordinates and they all worked fine. I’m not sure what kind of sampling would produce issues (and what those may be?)

Also noticed that Lumen’s surface cache only renders the red channel. I assume this is by design, just curious if there are any plans to add surface cache support for RGB light functions in the future:

1 Like