Commit Graph

10 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ć
7b8d5314d2 texturev: Fixed SDF shader. 2018-11-01 18:07:17 -07:00
Branimir Karadžić
d32ca7682c texturev: Added support for linear input images. 2017-12-12 17:31:22 -08:00
Branimir Karadžić
c5c851af5a texturev: Fixed SDF. 2017-11-29 16:53:39 -08:00
Branimir Karadžić
e322217bc7 texturev: Added exposure control. 2017-10-25 16:17:54 -07:00
Branimir Karadžić
369efb8a61 texturev: Rebuilt embedded shaders. 2017-07-09 11:54:24 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
cba4ed0f04 texturev: Rebuilt embedded shaders. 2017-05-29 12:13:02 -07:00
Jim Drygiannakis
f78eeaf50c Added Multi-channel SDF rendering option to texturev (#1006) 2016-12-27 10:11:33 -08:00