ref: 6d8fbc2953c6ae29ee5162ca04920d6cef85d0ce
parent: 32219aaa35b07d6abceb7df9f802c9758b53eb72
author: rodri <rgl@antares-labs.eu>
date: Thu Jul 4 10:57:00 EDT 2024
rough color space conversion implementation. colors are now properly processed in linear RGB space for lighting, shading and blending. sRGB is assumed for any texture sampled and the destination framebuffer. it's not perfect, but it does the job for now.