This is yet another issue with framebuffers. There are two issues: We need the framebuffer fully bound to check for completeness and when we bind a depth texture as frame buffer we need to disable read/write.