diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-29 19:28:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-29 19:28:48 +0300 |
commit | c007e84e9ec6b7283b871979a8fdb80f8c7819ed (patch) | |
tree | 94d1712fd50046301b3ad1289496082a4d5e1d2c /release/bin | |
parent | 520d111eca55941dd0924998927ec1a994895f54 (diff) |
Fix: Viewer node overlay alpha broken on NVidia GPUs
On NVidia GPUs, when the blue channel was between 0 and 0.1,
the overlay's alpha would increase, making it invisible.
With the `overlay_line_fb` frame buffer bound in `overlay_engine.cc`
there are two outputs to write to: the color and the line output, which
is used for making smooth antialiased lines. The overlay is in its
current position in the order of overlays so that it draws on top of
curve wire lines. Not writing to that second output is undefined
behavior, so fix it by writing zeros. In the future, the overlay
could be smoothed on curves using that second texture.
Thanks to Clément for the explanation of the issue!
Diffstat (limited to 'release/bin')
0 files changed, 0 insertions, 0 deletions