diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2025-03-14 02:15:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-14 00:15:18 +0100 |
| commit | 8c97cb7858e5d6c35d1a055930904346fb4248db (patch) | |
| tree | 87d7e30393f9177d035183f273be54f03b9451d5 /src/render/Shader.hpp | |
| parent | e86d3a14e46d19d8a47f8ceb6410546715d45f10 (diff) | |
renderer: add simple color management (#9506)
Adds proper color management and transformations for CM surfaces.
Diffstat (limited to 'src/render/Shader.hpp')
| -rw-r--r-- | src/render/Shader.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp index 666ee9d4..bcc25268 100644 --- a/src/render/Shader.hpp +++ b/src/render/Shader.hpp @@ -11,6 +11,17 @@ class CShader { GLint proj = -1; GLint color = -1; GLint alphaMatte = -1; + GLint texType = -1; + GLint skipCM = -1; + GLint sourceTF = -1; + GLint targetTF = -1; + GLint sourcePrimaries = -1; + GLint targetPrimaries = -1; + GLint maxLuminance = -1; + GLint dstMaxLuminance = -1; + GLint dstRefLuminance = -1; + GLint sdrSaturation = -1; // sdr -> hdr saturation + GLint sdrBrightness = -1; // sdr -> hdr brightness multiplier GLint tex = -1; GLint alpha = -1; GLint posAttrib = -1; |
