diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-01-13 16:20:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-01-14 16:54:08 +0300 |
commit | 53bd58993e2f6d35452242762402c20343d6eef3 (patch) | |
tree | 7fd33ab1a6ed49fbdfbee16843bf9e5e2f829853 /source/blender/functions | |
parent | 74f6b81c12c3c137a05eb0051d75821c11a30c11 (diff) |
Fix T84167: Saving half-float EXR might result in NaN pixels
Clamp value to the -HALF_MAX .. HALF_MAX.
The non-clamped values were causing NaN and inf values saved to
the file, which was the root cause of glare node giving unexpected
result.
The nan/inf on overflow is something mentioned in the half data
type in OpenEXR header.
Differential Revision: https://developer.blender.org/D10105
Diffstat (limited to 'source/blender/functions')
0 files changed, 0 insertions, 0 deletions