From 8c97cb7858e5d6c35d1a055930904346fb4248db Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Fri, 14 Mar 2025 02:15:18 +0300 Subject: renderer: add simple color management (#9506) Adds proper color management and transformations for CM surfaces. --- src/render/Shader.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/render/Shader.hpp') 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; -- cgit v1.2.3