Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map depth image in Unorm16 for full range
The mapping from Unorm16 encoded depth images did map half of the range to the max color value, hence causing that the same gray tones were used twice, for values < 0.5 (0x8000 before unorm), or >= 0.5. Fixing the normalization to linearly map the whole range.
- Loading branch information