I transplanted Microfacet Reflection from pbrt to luxcore and the results did not meet my expectations.
I'm using Trowbridge Reitz Distribution.
Why Does LuxCore Not Support the GGX Model?
Why Does LuxCore Not Support the GGX Model?
Last edited by BruceXu on Mon Sep 14, 2020 12:44 pm, edited 1 time in total.
Re: Why Does Luxcore Support Materials Based on the GGX Model?
Why shouldn't we ?
In case you wanted to ask why "doesn't": current Disney material uses a GGX distribution.
How ? Where ? What does mean "transplanted " ?
How doesn't it meet your expectation ? You need to better explain/show what kind problem you have.
Re: Why Does Luxcore Support Materials Based on the GGX Model?
Um, I’m very sorry, there is something wrong with my description
I refer to pbrt to implement class BRDF, class Microfacet Reflection, and then implement the plastic material in pbrt in luxcore
Regarding energy conservation, adding BXDF::f() in pbrt, I think it is not in line with energy conservation?
Sorry, I currently have no way to show my code
The specific implementation is as follows:
1. Use BXDF::f() and BXDF::pdf() in the Evaluate function to calculate bsdfEval and directPdfW
2. Use the BXDF::sample_wh() function in the Sample function to calculate localSampledDir