I got a simple TRIANGLE_STRIP shape with 3 vertexs. I need to have each triangle with only one solid color, but Processing is blending the colors when I’m on P3d (it works fine on P2D).
I haven’t tried this, but maybe using the flat keywoard in front of the varying used to pass the color from the vertex shader to the fragment shader?
If that works, you could tweak the vert and frag shaders, and write flat in front of the line that starts with varying in each file, then load and enable the shader, and draw your shapes.
But it’s possible that this only works in other versions of opengl.