Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 78dfba99 authored by MURRAY David's avatar MURRAY David
Browse files

fix wrong usage in microfacet

parent 10b55e60
......@@ -266,7 +266,7 @@ COLOR bsdf_transmittance(float length)
// return optix::expf(-_extinction[current_prd.id_wavelength]);
#else
COLOR sigma = _kappa / _wavelengths * -4.f * M_PIf;
COLOR user_ext = (COLOR(1.f) - clamp_negative_color(_extinction));
COLOR user_ext = (COLOR(1.f) - _extinction);
clamp_negative_color(user_ext);
return mrf::spectrum::expf( sigma * length ) * user_ext;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment