appleseedhq / appleseed

A modern open source rendering engine for animation and visual effects
https://appleseedhq.net/
MIT License
2.19k stars 329 forks source link

Fix assert in plasticbrdf.cpp #2893

Closed andreasdeclercq closed 3 years ago

andreasdeclercq commented 3 years ago

This assert is being triggered because probability can be zero. Since in the specular/glossy case the assert allows zero probability, I assume we can do the same thing for the diffuse case.