Commit Graph

5 Commits

Author SHA1 Message Date
elvencache
96611dd944 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?
2018-12-29 23:10:28 -08:00
Branimir Karadžić
2a6436fbc5 Cleanup. 2018-11-02 17:18:22 -07:00
Branimir Karadžić
d32ca7682c texturev: Added support for linear input images. 2017-12-12 17:31:22 -08:00
Branimir Karadžić
0a39920db4 texturev: Rebuilt shaders. 2017-11-29 21:13:24 -08:00
Branimir Karadžić
624c050047 texturev: Added separate MSDF shader. 2017-11-29 21:06:14 -08:00