Multivolume rendering

I am testing multiple volume rendering for a visualization. When I turn on the 3rd volume, it doesn’t displayed, and I receive this message

Links failed: ERROR: Implementation limit of 16 active fragment shader samplers (e.g., maximum number of supported image units) exceeded, fragment shader uses 18 samplers
Shader failed to compile

These are very small volumes 178x314x221. Is there any way to mitigate this?

I don’t know for sure, but that sounds like a hardware limit that would be hard to workaround without rewriting the renderer.

1 Like