else if(type==GL_TEXTURE_3D)
glFramebufferTexture3D(GL_FRAMEBUFFER, gl_attach_point, type, attch.tex->get_id(), attch.level, attch.layer);
else if(type==GL_TEXTURE_CUBE_MAP)
else if(type==GL_TEXTURE_3D)
glFramebufferTexture3D(GL_FRAMEBUFFER, gl_attach_point, type, attch.tex->get_id(), attch.level, attch.layer);
else if(type==GL_TEXTURE_CUBE_MAP)