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

Question about tonemapping #82

Closed
838959823 opened this issue Jan 9, 2025 · 1 comment
Closed

Question about tonemapping #82

838959823 opened this issue Jan 9, 2025 · 1 comment

Comments

@838959823
Copy link

How to ensure that the formula color == (diffuse_reflectance * diffuse_illumination) + residual still holds after the data undergoes tonemapping?

@mikeroberts3000
Copy link
Collaborator

After tonemapping the color image, the relevant equation will be:

tonemap(color) == tonemap((diffuse_reflectance * diffuse_illumination) + residual)

But in general you can't simplify the right-hand side any more than this.

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