Blender Git Loki

Git Commits -> Revision 61a3fad

Revision 61a3fad by Omar Emara (viewport-compositor)
December 28, 2021, 17:47 (GMT)
Viewport Compositor: Port RGB Curves node

This patch ports the RGB Curves node to the viewport compositor. The
curves code was mostly rewritten in a common directory to be used by
both the material and compositor nodes. The new code avoids code
duplication by moving common code into BKE curve mapping functions. It
also avoids ambiguous data embedding into gradient vectors and avoids
redundancies. Finally, a film-like implementation was added.

Commit Details:

Full Hash: 61a3fad7aac713ff587406023453a15605120a36
Parent Commit: 37593cd
Lines Changed: +444, -234

1 Added Path:

/source/blender/gpu/shaders/common/gpu_shader_common_curves.glsl (+193, -0) (View)

2 Deleted Paths:

/source/blender/gpu/shaders/material/gpu_shader_material_rgb_curves.glsl (+0, -73)
/source/blender/gpu/shaders/material/gpu_shader_material_vector_curves.glsl (+0, -41)

8 Modified Paths:

/source/blender/blenkernel/BKE_colortools.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+92, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -2) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+7, -14) (Diff)
/source/blender/gpu/shaders/composite/gpu_shader_composite_hue_correct.glsl (+3, -3) (Diff)
/source/blender/nodes/composite/nodes/node_composite_curves.cc (+68, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_huecorrect.cc (+6, -9) (Diff)
/source/blender/nodes/shader/nodes/node_shader_curves.cc (+66, -92) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021