depth_texture
Globals were defined too early, which means some uniforms were not available at the point they were defined in.