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/shaders/Textures.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/shaders/Textures.hpp') diff --git a/src/render/shaders/Textures.hpp b/src/render/shaders/Textures.hpp index 78845322..002c3459 100644 --- a/src/render/shaders/Textures.hpp +++ b/src/render/shaders/Textures.hpp @@ -94,6 +94,10 @@ void main() { v_texcoord = texcoord; })#"; +inline const std::string TEXFRAGSRCCM = +#include "CM.frag" + ; + inline const std::string TEXFRAGSRCRGBA = R"#( precision highp float; varying vec2 v_texcoord; // is in 0-1 -- cgit v1.2.3