[Bf-blender-cvs] [a9ad4c805eb] draw-colormanagement: Add comment about UI color space

Clément Foucault noreply at git.blender.org
Tue Feb 11 15:10:15 CET 2020


Commit: a9ad4c805ebff33dc343de2708a77bfd61f8e8b4
Author: Clément Foucault
Date:   Tue Feb 11 13:21:31 2020 +0100
Branches: draw-colormanagement
https://developer.blender.org/rBa9ad4c805ebff33dc343de2708a77bfd61f8e8b4

Add comment about UI color space

===================================================================

M	source/blender/imbuf/intern/colormanagement.c

===================================================================

diff --git a/source/blender/imbuf/intern/colormanagement.c b/source/blender/imbuf/intern/colormanagement.c
index f77b98b306c..a18764cd6ab 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -105,6 +105,10 @@ typedef struct ColormanageProcessor {
 
 static struct global_glsl_state {
   /* Actual processor used for GLSL baked LUTs. */
+  /* UI colorspace here refers to the display linear color space,
+   * i.e: The linear color space w.r.t. display chromaticity and radiometry.
+   * We separate the colormanagement process into two steps to be able to
+   * merge UI using alpha blending in the correct color space. */
   OCIO_ConstProcessorRcPtr *processor_scene_to_ui;
   OCIO_ConstProcessorRcPtr *processor_ui_to_display;



More information about the Bf-blender-cvs mailing list