Hi!
I have a set of faces that I want to draw, I don't want to use default opengl blending and depth test because it's a very complex scene.
I've tried to perform instanced rendering but the problem is that SFML updates the render texture each time that something is drawn and not each time that a pixel is updated with the sahder, so, I can't get the right colour for faces which overlap in my shader using instanced rendering.
So I update the render texture each time I render a face, so I do more draw calls but it's slower.
My question is simple so, isn't there a way to update the render texture each time a pixel is written on the render teture with the shader ?
I don't know opengl very well so it's why I'm asking this question.