Blender Git Commit Log

Git Commits -> Revision 88494ad

Revision 88494ad by Omar Emara (viewport-compositor)
December 28, 2021, 17:14 (GMT)
Viewport Compositor: Port Mix RGB node

This patch ports the Mix RGB node to the viewport compositor. The
material Mix RGB node code was moved into a common directory to be
utilized by both the material and the compositor nodes. Additionally,
some of the operations were adapted to work with the compositor, in
particular, the linear and soft light operations now write the alpha to
the result, this has no effect on materials but is consistent with the
compositor.

Commit Details:

Full Hash: 88494adecb1491276e3137c2989d29aec70b7e9b
Parent Commit: 9d07001
Lines Changed: +390, -301

1 Added Path:

/source/blender/gpu/shaders/common/gpu_shader_common_mix_rgb.glsl (+298, -0) (View)

1 Deleted Path:

/source/blender/gpu/shaders/material/gpu_shader_material_mix_rgb.glsl (+0, -291)

4 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_material_library.c (+7, -7) (Diff)
/source/blender/nodes/composite/nodes/node_composite_mixrgb.cc (+82, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021