Baking directional lightmaps?
Posted: Tue Feb 09, 2021 3:19 pm
Hello!
I'm relatively new to LuxCoreRender (using the C++ API), and I noticed in the changelog for version 2.3 it says "BAKECPU now correctly includes the dot product of shading normal and light direction in light maps", does that mean we can use LuxCoreRender to bake directional lightmap information? If so, how does that work exactly? I already have the lightmap baking code set up, but I can't find any information on how you'd configure it to output light direction information. Ideally I'd want two outputs, one with the light intensity/color, the other with some kind of average or dominant light direction (similar to how it works in Unity), is that possible?
Thank you!
I'm relatively new to LuxCoreRender (using the C++ API), and I noticed in the changelog for version 2.3 it says "BAKECPU now correctly includes the dot product of shading normal and light direction in light maps", does that mean we can use LuxCoreRender to bake directional lightmap information? If so, how does that work exactly? I already have the lightmap baking code set up, but I can't find any information on how you'd configure it to output light direction information. Ideally I'd want two outputs, one with the light intensity/color, the other with some kind of average or dominant light direction (similar to how it works in Unity), is that possible?
Thank you!