Skip to content

Fix volume jitter enable/disable.

The volume draw command was throwing GL_INVALID_OPERATION because a sampler was bound but not used, and wouldn't draw anything. Clearing the noise sampler when it wasn't going to be used fixed the issue.

This should fix slicer issue 4600: https://issues.slicer.org/view.php?id=4600

Merge request reports