Blender Git Commit Log

Git Commits -> Revision c23f33a

Revision c23f33a by Clément Foucault (master)
April 21, 2018, 14:49 (GMT)
View3D: Atenuate banding artifacts on background gradient.

Dithering the output color for 8bit precision framebuffer with bayer matrix.
On my tests the bayer matrux patterns are not noticeable at all.

Note that it also does that in opengl rendered mode which can be in a much
higher bitdepth. We can fix that if that's a problem in the future but I
doubt it will.

Commit Details:

Full Hash: c23f33ac9e94d98cc1f593653f0e3abb031ecae0
Parent Commit: 28a24db
Lines Changed: +26, -1

1 Added Path:

/source/blender/gpu/shaders/gpu_shader_2D_smooth_color_dithered_frag.glsl (+20, -0) (View)

4 Modified Paths:

/source/blender/draw/intern/draw_view.c (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021