Add HDR backbuffer support to texturev for viewing HDR textures

Texturev already supports exposure/stops as a way to view details in HDR textures. But results still clip to 1.0 due to 8 bits per channel back buffer. So not viable to view in native HDR.

Add UI menu to select scRGB (f16 HDR for windows) and HDR10 (pq/st2084 and rec2020 color primaries) and add shader code to properly display image. The intent is for SDR range content to look identical across all three modes. With additional details available in HDR modes when viewed on HDR monitor.

Running into trouble compiling fs_texture_array at the moment. So skipping the changes required in that shader.

*sdf.bin.h files changed because of changes in common.sh. Could roll the hdr code into a separate hdr.sh which would leave them be if that would be better?
This commit is contained in:
elvencache
2018-12-29 23:10:28 -08:00
parent 149b0e867b
commit 96611dd944
14 changed files with 4331 additions and 2062 deletions

File diff suppressed because it is too large Load Diff