Blender Git Loki

Git Commits -> Revision c85eb8f

Revision c85eb8f by Omar Emara (viewport-compositor)
December 28, 2021, 16:27 (GMT)
Viewport Compositor: Port Bright And Contrast node

This patch ports the Bright And Contrast node to the viewport
compositor. The shader is a straightforward port of the compositor code.
The (un)premultiply_alpha functions were adjusted to retain the original
alpha for compatibility with the compositor. This has no effect on
materials because alpha is implicitly discarded.

Commit Details:

Full Hash: c85eb8fc7cca865b58f29691855dd9949b7488ba
Parent Commit: 090432e
Lines Changed: +64, -3

1 Added Path:

/source/blender/gpu/shaders/composite/gpu_shader_composite_bright_contrast.glsl (+34, -0) (View)

5 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 (+3, -3) (Diff)
/source/blender/gpu/shaders/common/gpu_shader_common_math_util.glsl (+4, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_brightness.cc (+13, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021