Blender Git Commit Log
Git Commits -> Revision 506ad72
Revision 506ad72 by Omar Emara (viewport-compositor) December 28, 2021, 16:32 (GMT) |
Viewport Compositor: Port Color Correction node This patch ports the Color Correction node to the viewport compositor. The shader is a straightforward port of the compositor code. A function to return the luminance coefficients from the color management configuration was added to pass the coefficients to the shader. |
Commit Details:
Full Hash: 506ad72c66d3c00d3da6906d824977e143f5fb15
Parent Commit: 5ddddee
Lines Changed: +172, -0
1 Added Path:
/source/blender/gpu/shaders/composite/gpu_shader_composite_color_correction.glsl (+84, -0) (View)
7 Modified Paths:
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+9, -0) (Diff)
/source/blender/gpu/shaders/common/gpu_shader_common_color_util.glsl (+5, -0) (Diff)
/source/blender/gpu/shaders/common/gpu_shader_common_math_util.glsl (+18, -0) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+1, -0) (Diff)
/source/blender/imbuf/intern/colormanagement_inline.c (+5, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc (+49, -0) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+9, -0) (Diff)
/source/blender/gpu/shaders/common/gpu_shader_common_color_util.glsl (+5, -0) (Diff)
/source/blender/gpu/shaders/common/gpu_shader_common_math_util.glsl (+18, -0) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+1, -0) (Diff)
/source/blender/imbuf/intern/colormanagement_inline.c (+5, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc (+49, -0) (Diff)