How to render two transparent polydata with overlapping parts?

Hello. I am rendering two transparent polydata with overlapping parts in C++.

These two polydata are 2D and have the same color and transparency, but the rendered results have deepened in the overlapping area. Is there any way to avoid color deepening