Multiple Render Targets?

Hello all. I’m trying to implement something like the weight-blended order independent transparency technique described here (and if I’m lucky, here).

However, the technique requires multiple render targets. In theory I think I should be able to accomplish it by using multiple passes to separate targets, but aside from being slower, the added complexity of that approach would make the solution less generalizable (and thereby more difficult to share or recycle).

So, with all of that said, does Processing 3.x support multiple render targets? I feel like having something like this around would be a really great alternative to the limitations of hint(DIS/ENABLE_DEPTH_TEST/SORT) for quite a large number of situations, but it’s difficult to find documentation, and I’m not sufficiently well versed in jogl to trust myself interpreting PGraphics source.

1 Like