diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-29 19:28:48 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-10-03 15:59:17 +0300 |
commit | c44e14373999717c1b77863be14e1af7d02644b7 (patch) | |
tree | 55819914cb005b4caf6554f2c03cbcdb3335c91b /readme.rst | |
parent | ef205bb1f60d9f779938c9e49f34720a4181c0b2 (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 'readme.rst')
0 files changed, 0 insertions, 0 deletions