You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using vg-renderer to "compose" viewports on the screen, there is currently no control on the blend mode, which right now is hardcoded to alpha blending.
It would be nice if vg-renderer exposed a way to change that blend mode :)
The text was updated successfully, but these errors were encountered:
I'll have to think about it a bit more because alpha blending is currently required for antialiasing to work.
To be honest I totally forgot about blend modes (had no use for them). NanoVG supports them, so I should probably put that on the readme, in the section "What's not supported compared to NanoVG", at least until I manage to figure out how to implement them properly.
I kind of realized that the issue I thought I was having was not due to vg alpha blending after all.
After thinking a bit more about it, even for blitting pre-rendered viewports on the screen, alpha blending should be the correct mode anyway.
So this is not so needed after all. If I ever actually need it, it will probably come with a pull request :)
When using vg-renderer to "compose" viewports on the screen, there is currently no control on the blend mode, which right now is hardcoded to alpha blending.
It would be nice if vg-renderer exposed a way to change that blend mode :)
The text was updated successfully, but these errors were encountered: