2
votes
Accepted
Front faces are transparent after setting glEnable(GL_DEPTH_FUNC) and glDepthTest(GL_LEQUAL)
I was doing my matrix multiplications in the wrong order :/ its proj * view * model * vec4(pos , 1.0); for what I wanted.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rendering × 1256opengl × 225
unity × 219
c++ × 112
shaders × 102
textures × 101
java × 87
3d × 77
2d × 69
graphics × 69
libgdx × 65
c# × 57
xna × 52
directx × 50
lighting × 48
camera × 44
performance × 44
architecture × 43
sprites × 38
directx11 × 35
android × 29
tiles × 29
glsl × 27
mathematics × 25
sdl2 × 25