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

Wrong brightness when mixing glass with roughglass #187

Closed
Theverat opened this issue Apr 14, 2019 · 4 comments
Closed

Wrong brightness when mixing glass with roughglass #187

Theverat opened this issue Apr 14, 2019 · 4 comments
Assignees
Labels

Comments

@Theverat
Copy link
Member

Theverat commented Apr 14, 2019

Reported by Fox: https://forums.luxcorerender.org/viewtopic.php?f=4&t=1049
Scenes and blend file: mix_brightness_issue.zip

Glass:
glass

Rough Glass:
roughglass

Mix between both:
(mix amount is 0, so the result should be identical to the glass result)
Mix amount is 0.001, with glass being first and roughglass being second material.
mix

@Theverat Theverat added the bug label Apr 14, 2019
@Dade916
Copy link
Member

Dade916 commented Apr 17, 2019

If I edit mix_brightness_issue/mix/scene.scn and set:

scene.materials.Surface_Lens__Glass__1_2218819541336.amount = 0.0

I get:

RGB_IMAGEPIPELINE_0

The same result I get from rendering mix_brightness_issue/glass/render.cfg:

RGB_IMAGEPIPELINE_0

Are you doing something different ?

@Dade916 Dade916 self-assigned this Apr 17, 2019
@Theverat
Copy link
Member Author

Sorry, my mistake, the mix amount is not 0, but in fact 0.001 (Blender UI cut off the last decimal).
By the way, scn files would be more readable if FILESAVER would not create all those implicit constfloat(3) textures.

@Dade916
Copy link
Member

Dade916 commented Apr 18, 2019

I should have fixed the problem.

@Theverat
Copy link
Member Author

Thanks!

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