Skip to content

Commit 203dafd

Browse files
author
csmartdalton
committed
feat: Move the alpha portion of MSAA blend modes to the blend unit (#9576) 4f9625183f
Move the alpha portion of MSAA blend modes to the blend unit The advanced blend modes can be split algebraically into two distinct operations: color and alpha. The color portion has all the custom logic that needs to run in the shader. The alpha portion is run-of-the-mill source-over blending. For the MSAA backend, move the alpha portion of the operation into the hardware blend coefficients instead of doing it in the shader. This gives smoother antialiasing because the blend unit does the blend at each sample separately, whereas the shader runs once per fragment against a single (resolved) destination color.
1 parent 9bcf6cf commit 203dafd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7051d2685fbfaaafe6cf558698b6c425ca709cc4
1+
4f9625183f27235352619de688c0cf6a66e932d7

0 commit comments

Comments
 (0)