I'm developing a visualization tool for 2D objects in Three.js.
Like the example shown, I want to take a set of 2D shapes rendered with an orthographic camera and, because each bigger shape "contains" the smaller ones, I've been using the z coordinate to render them in such a way that the bigger objects are rendered behind smaller ones.
That works. However, I want to disable the color blending as if I wasn't drawing full objects everytime but instead drawing its increments/decrements like the example above. Additionally, I want each to blend with the existing contents, like the background or the map shown in the example bellow.
The question is essencially: Is it possible to disable color blending between a set of objects, while allowing color blending between those objects and others (like the background, for example)?