-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color Grading with Lookup Table #124
Comments
Hi, that sounds cool! I'd be happy to include it in the library. What do you think about the name For testing you can either create your own setup or you can add the effect to the ColorGradingDemo. If you choose to add it to the existing demo, remember to disable the other effects by setting their blend functions to Before you start, make sure you've read the contributing guidelines 😄 |
ColorTransformation is too similar to ColorSpaceTransform. A color space transform is a different concept from a LUT, though a non-finite color space transform can be implemented using a LUT. |
Thanks for the feedback @Yzrsah!
I guess that's true. However, both of the references that @jpweeks linked to use the term "color transformation" for this kind of image processing so I wouldn't rule it out yet. I looked around for more references:
We could go with Any suggestions? |
There is thousands of other things that can be included inside ColorCorrection or ColorGrading besides LUT. Having the LUT effect actually be called "ColorCorrection" implies that the library is limited in scope (i.e. Babylon is very limited). If you use something like Davinci Resolve for color correction and color grading, a LUT is a LUT. They do not try to give you newbie terms because the newbie terms would be too confusing and lacking meaning. i.e. "color grading" is ambiguous as it's a description of a category so it could not be used to have a meaning in a color grading app. It could only have a meaning in something that is limited in scope and therefore uses vague terms. from the titles ColorGrading and ColorCorrection I could not guess that it's a LUT effect so I would google and open the docs to find out if they're a LUTEffect or something else |
@Yzrsah Most color grading techniques can be cached by a LUT; this is why they're so useful to realtime rendering. It is unlikely anyone is going to want to apply many independent, potentially computationally expensive, color grading transformations to a final render in a realtime rendering pipeline. Naming it |
@jpweeks I.e. It's not possible to provide other color grading features in the future because it is too expensive and hardware performance in the future is static, and also we are not capable of writing fast shaders or making decisions about performance in our apps, therefore this library should be limited because this is going to be the only color grading effect and therefore the LUT should be named after the category of color grading. |
I don't see how this could limit the scope of the library. I'd argue that a term like "correction", "grading" or "transformation" implies flexibility.
Well, if you use the
I agree. The terms "color grading" as well as "color correction" both describe a diverse group of color transformations. That's also why there are several similar effects in the
The first thing that the user would look for is something related to color correction. The implementation details are secondary. You are actually describing a best case scenario with the documentation example.
There's no reason to assume that.
Don't underestimate the power of semantic versioning. If there's a better color grading solution, we can just replace the LUT implementation entirely or make the LUT feature optional. In my opinion, the name of the effect should describe what it does, not what it uses to do it. The original resource calls it color transformation, so I think we should call it |
Just an update on this: |
Got it, thanks for the update 👍 |
@jpweeks Any news on this? |
Closing this due to inactivity. Feel free to re-open if you'd like to continue working on this! |
I ended up not creating a PR since it's a very easy effect to setup with |
It'd be great to have a color grading effect that uses a lookup table to apply the color transform. I might have time to work on adding it if you like the idea.
The text was updated successfully, but these errors were encountered: