I have got a 2D mesh working now - it’s a frame rate counter. When I render the 2D mesh, I change the projection to orthographic and then when finished, I pop my mtrices back to the way they were before I rendered the mesh.
The problem is this, I have a cube in the scene which has one texture on each face, but this cube is rendered a flat black.
What can be happening here? The lighting is begin put back on, so is the texture. This is very odd.
If I have multiple meshes in the scene everything works fine, but as soon as I put in the frame rate counter I get this problem.
Can anybody help?