Improvements to custom sensor volume fragment shader.