I'm trying to make a 3D scene with opengles 2.0 by rendering multiple models
the problem i'm having is that the models appear on top of each other like it's 2D
so.. if in the code a cube is drawn after a cone then the cube is drawn on top of the cone even though the cube's coordinates have it behind the cone
how do i render a 3D scene in opengles 2.0? i've enabled Depth_Test like i would if it were opengles 1 but that didn't help.
the problem i'm having is that the models appear on top of each other like it's 2D
so.. if in the code a cube is drawn after a cone then the cube is drawn on top of the cone even though the cube's coordinates have it behind the cone
how do i render a 3D scene in opengles 2.0? i've enabled Depth_Test like i would if it were opengles 1 but that didn't help.