Function ggx_lambda
Source pub fn ggx_lambda(cos_theta: f32, alpha: f32) -> f32
Expand description
Evaluates the Smith GGX auxiliary masking function Lambda(cos_theta).
§Arguments
f32 - Cosine of view or light elevation angle.
f32 - Roughness parameter alpha.
§Returns
f32 - Non-negative Smith Lambda term.