Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this guiding method useful for light map baking( all the materials are diffuse) #3

Open
Superlee506 opened this issue Nov 6, 2021 · 1 comment

Comments

@Superlee506
Copy link

Thanks for your great work.
As described above, is this method useful for light map baking? In light map baking, the distance between revels is large due to the resolution of light map and the distribution of radiance isn't narrow enough (smooth), so is this method still helpful for baking?

@LukasRuppert
Copy link
Collaborator

That really depends on the complexity of your scene.
Like all other guiding methods, this method can help you with sampling the incident radiance better than just sampling your BSDF and direct illumination.
So, when you have complex indirect illumination, it may be able to help you.
E.g., narrow, winding corridors with a light source at the end that is only visible after multiple bounces or light shining through an ajar door.

On the other hand, if everything is diffuse, I guess you can also write a very efficient path tracer with very little branching that can easily produce at least 4-8 samples in the time it takes to generate one sample with path guiding.
For common scenes, where light sources can be reached easily, you will probably benefit more from only optimizing the direct illumination sampling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants