RadianceHdr#
Radiance RGBE (.hdr) reader: "-Y h +X w" orientation, new-style run-length or flat scanlines.
public static class RadianceHdrDecode#
public static (int Width, int Height, Half[] Rgba) Decode(byte[] data);Encode#
public static byte[] Encode(int width, int height, Half[] rgba);Writes linear RGBA half floats as a flat (unencoded) RGBE .hdr: what Decode reads back.
Source#
- Environment3D.cs