lumos.brdf.library.ABG
- lumos.brdf.library.ABG(A, B, g)[source]
ABG scattering model. Described here: Using the ABG model
\(BRDF = \frac{A}{B + x^g}\)
- Parameters:
A (float) – Amplitude parameter, A/B is the specular peak
B (float) – Knee parameter, B determines where the BRDF transitions to exponential decay
g (float) – Slope parameter, g determines the slope of the BRDF in log-log space
- Returns:
BRDF function, where f = BRDF(incident vector, normal_vector, outgoing_vector)
- Return type:
function