I just found out what the problem is.
This where my quad coordinates:
float[] vertices = {
-0.5f, 0.5f, -1f,
-0.5f, -0.5f, -1f,
0.5f, -0.5f, -1f,
0.5f, 0.5f, -1f
};
So i changed them to:
float[] vertices = {
-0.5f, 0.5f, 0f,
-0.5f, -0.5f, 0f,
0.5f, -0.5f, 0f,
0.5f, 0.5f, 0f
};
And it FINALLY worked but no idea why.
CLICK HERE to find out more related problems solutions.