PackedRGBMShader
PackedRGBMShader copied to clipboard
32-bit packed color format with RGBM encoding for shader use
PackedRGBMShader
(original, encoded & decoded, relative error)
This is an example that shows how to encode HDR colors into 32-bit uint values with using RGBM encoding.
See EncodeColor and DecodeColor for details.