Re:Show HN: How to compile C/C++ for WASM, pure Clang, no li...
by Asooka on Monday April 11, 2022 @03:32PM
(#30993614)
Also, you must work in linear colour space. In OP's case you would have to apply the inverse sRGB transform, do the calculation, then apply the forward sRGB transform. Best if you just work with linear colour end to end, if you have the memory to spare.
[ Parent
| on HN ]