crates/crust-render/src/material/cook_torrance.rs [87-89]
The denominator in the specular calculation should use max(n_dot_v * n_dot_l,
1e-4) instead of adding 1e-4 to the product. This ensures proper handling of
grazing angles while preventing division by zero.
crates/crust-render/src/material/cook_torrance.rs [87-89]
The denominator in the specular calculation should use
max(n_dot_v * n_dot_l,1e-4)instead of adding 1e-4 to the product. This ensures proper handling ofgrazing angles while preventing division by zero.