7 points · by firephox · 5mo ago · 1 comment
Exact UNORM8 to float
GPUs support UNORM formats that represent a number inside [0,1] as an 8-bit unsigned integer. In exact arithmetic, the conversion to a floating-point number is straightforward: take the integer and…
The ryg blog