correction of the bug in hdr !
add a fuction to get the type of a texture
change transfer fbo with the new kind of Texture