Convert half float buffer to rgbe adapted from https://github.com/enkimute/hdrpng.js/blob/3a62b3ae2940189777df9f669df5ece3e78d9c16/hdrpng.js#L235 channels = 4 for RGBA data or 3 for RGB data. buffer from THREE.DataTexture
Optional
Generated using TypeDoc
Convert half float buffer to rgbe adapted from https://github.com/enkimute/hdrpng.js/blob/3a62b3ae2940189777df9f669df5ece3e78d9c16/hdrpng.js#L235 channels = 4 for RGBA data or 3 for RGB data. buffer from THREE.DataTexture