-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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 correction now uses a 3D texture. #26101
Conversation
Looks good, this should make color correction more powerful 😃 Would it be possible to implement this in a way that still makes GradientTexture usable for color correction? Having to use an image editor for simple color grading sounds quite cumbersome to tweak. Perhaps there could be a 3D GradientTexture resource in a future version? |
…sting color correction. Co-authored-by: CptPotato
908044f
to
ede2cae
Compare
@CptPotato I implemented your change, but in order to co-author you I need your email :< |
@QbieShay You can leave the commit as is if you'd like. I'd prefer to keep my mail address private. Though, make sure to test the change as I haven't done that. It should be really obvious with a neutral 2³ or 3³ texture. |
@CptPotato Will test this evening, thank you very much for the tip! |
@QbieShay Did you test? |
@fire I did! Works! |
There was some difficulty converting a png lookup table to a 3d texture. I have to do 16 horizontal and 1 vertical. It would probably be better to support a .cube to 3d texture directly, but it works for me too! |
I still desire this. It required some engine investigation though. |
Hi @aaronfranke ! I haven't looked into the Vulkan renderer yet. I'm sad that this PR didn't make it into 3.x, but I expected it due to compat problems. I'll close this PR and maybe open another one for Vulkan in the future! |
Breaks games that use the existing color correction.
demo usage:
https://gfycat.com/mammothlivelyblacklab
Model from Desmond Man