I've been encountering a possible issue when displaying different surfaces (with different colors) on the same figure. More specifically, I noticed that the colors glitch a lot when trying to apply transparency to the surfaces.
When facealpha is set to 1 for both surfaces the colors are neat and clear, while when having transparency the colors of the surfaces appear to change depending on the rotation of the plot.
The two pictures below depict the same figure, just slightly rotated.
Any clue of what the problem is? I'm using Matlab 2016 and opengl renderer.