copy float color buffer to texture

it’s a simple question: if i have a floating color buffer, can i use glCopyTexImage2D to copy the contents of the color buffer to a floating point texture without losing the floating point range?

no, you want to use glTexSubImage2D() for this.

jcabeleira is right. CopyTexImage/CopyTexSubImage is the way to go. but remember that if your texture isnt floating point then the values will be clamped. you could use a floating point RTT if supported to render directly.