Blender Git Loki
Git Commits -> Revision ed80986
Revision ed80986 by Jeroen Bakker (master) January 26, 2021, 13:25 (GMT) |
Viewport Rendering: Don't clamp when overlays are disabled. During viewport rendering the color values were clamped in order to apply the overlay on top of it. This clamping would show the scene colors washed out. This patch adds a work around to skip the clamping when the overlays are turned off. Parial fix for {T77909} |
Commit Details:
Full Hash: ed809866b17262b1eaa24765aaf711e44f62d862
Parent Commit: e6aece3
Lines Changed: +27, -16
5 Modified Paths:
/source/blender/draw/intern/draw_manager.c (+2, -2) (Diff)
/source/blender/gpu/GPU_viewport.h (+4, -2) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+13, -7) (Diff)
/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl (+6, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+2, -1) (Diff)
/source/blender/gpu/GPU_viewport.h (+4, -2) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+13, -7) (Diff)
/source/blender/gpu/shaders/gpu_shader_image_overlays_merge_frag.glsl (+6, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_draw.c (+2, -1) (Diff)