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

White balance plugin "reverse" option makes result darker #448

Closed
Theverat opened this issue Sep 17, 2020 · 2 comments
Closed

White balance plugin "reverse" option makes result darker #448

Theverat opened this issue Sep 17, 2020 · 2 comments
Assignees
Labels

Comments

@Theverat
Copy link
Member

Scene: wb.zip

This scene contains a meshlight set to 2600 K temperature, and the white balance plugin is set to reverse 2600 K.
The reversed result is a lot darker than I would expect.

Note that you need the latest BlendLuxCore sources to have support for the "reverse" option.

Without white balance plugin:

no_wb

With white balance plugin:

with_wb

@Dade916 Dade916 self-assigned this Sep 18, 2020
@Dade916
Copy link
Member

Dade916 commented Sep 18, 2020

You have the ".normalize" option set on blackbody texture but not on white balance plugin. You have to set both on or off.

The image pipeline plugin orders also looks wrong (however it has not effect in this particular case):

film.imagepipelines.000.0.type = "NOP"
film.imagepipelines.000.1.type = "TONEMAP_LINEAR"
film.imagepipelines.000.1.scale = 1
film.imagepipelines.000.2.type = "WHITE_BALANCE"
film.imagepipelines.000.2.temperature = 2600
film.imagepipelines.000.2.reverse = 1
film.imagepipelines.000.2.normalize = 1
film.imagepipelines.000.3.type = "GAMMA_CORRECTION"
film.imagepipelines.000.3.value = 2.2

"WHITE_BALANCE" must be used before tone mapping, it is an HDR operation.

@Theverat
Copy link
Member Author

Fixed in LuxCoreRender/BlendLuxCore@6c4ac4e.

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

No branches or pull requests

2 participants