I can't understand the lut-baking process in FColorGrading initializing functon #7229
Answered
by
romainguy
dandingol03
asked this question in
Q&A
-
Hi, I have see the lut-baking implementation code listed below, so there are some step in lut-baking: Let's say if i choose
|
Beta Was this translation helpful? Give feedback.
Answered by
romainguy
Oct 4, 2023
Replies: 1 comment 5 replies
-
@romainguy give me some help if it is convinient for you |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LogC
has nothing to do with the final colors, is just a way to encode the values in the LUT. The opposite is done when reading from the LUT.Filament's "filmic" curve is not the same as Blender's "filmic" curve, it's not more complicated than that :) I'm planning on adding the AgX tone mapping curve to Filament, which is also available in Blender.
And to answer your question, sRGB is a confusing name. You can have "linear sRGB" which really means the Rec709 gamut with a linear transfer function (and you'll see that in the code we use more precise definitions like this:
ColorSpace outputColorSpace = Rec709-sRGB-D65;
). But again theLogC_to_linear
function has nothing to do with this.