From 714038d0bce05c734d4e45289ec2bf1174463e4a Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 5 Jul 2024 18:16:49 +0000 Subject: create a new texture interface. --- color.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'color.c') diff --git a/color.c b/color.c index cdd089f..6ba23e3 100644 --- a/color.c +++ b/color.c @@ -8,6 +8,10 @@ #include "graphics.h" #include "internal.h" +/* + * see also “The Importance of Being Linear”, Gritz and d'Eon, GPU Gems 3, Ch. 24, December 2007 + */ + /* * generated with: * % seq 0 255 | awk '{$0 = $0/255; if($0 > 0.04045) $0 = (($0+0.055)/1.055)^2.4; else $0 = $0/12.92; printf("\t0x%02X,%s", int($0*255+0.5), NR%8 == 0? "\n": "")}' -- cgit v1.2.3