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

Radiosity Normal Mapping? #25

Open
Raildex opened this issue Jan 12, 2023 · 1 comment
Open

Radiosity Normal Mapping? #25

Raildex opened this issue Jan 12, 2023 · 1 comment

Comments

@Raildex
Copy link

Raildex commented Jan 12, 2023

How would someone achieve radiosity normal mapping?
According to some Half Life 2 Papers, we need to generate three lightmaps, one with a different directional component. How would that be achieved?

@ds445
Copy link

ds445 commented Feb 20, 2025

I haven't tried it explicitly with lightmapper, but I assume if you manually set the normals of the geometry to be facing each the three directions you want to use for your directional light maps (Valve calls this the radiosity normal basis, if I remember the paper correctly, and I assume most implementations would want them in the local coordinate system of the polygon, i.e. expressed in the TBN basis) and bake those three resulting lightmaps, that's what you would get :)

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