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

How to bake texture maps for every mesh in my scene? #16

Open
oschakravarthi opened this issue May 8, 2019 · 1 comment
Open

How to bake texture maps for every mesh in my scene? #16

oschakravarthi opened this issue May 8, 2019 · 1 comment

Comments

@oschakravarthi
Copy link

Hi,

How to bake texture maps for every mesh in my scene?

I would like to bake the textures programmatically. Is it possible?

If not possible, will you be able to suggest an open source/free library?

Thanks in advance.

@derkreature
Copy link
Owner

If I understand your question correctly, IBLBaker computes a cubemap probe at “infinity”, I.e., it is unbounded/isn’t localized.
It should not be a huge amount of work for you to take the ideas shown in IBL baker
and create Parallax Corrected (localized) IBL maps in whatever framework/ engine you are working in:
https://www.google.com/amp/s/seblagarde.wordpress.com/2012/09/29/image-based-lighting-approaches-and-parallax-corrected-cubemap/amp/

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