forked from 1b-agent/opencadstudio-upstream
Geometry passes draw with standard `SrcAlpha / 1-SrcAlpha` into a transparent MSAA target, so AA-edge fragments sit as `(rgb * a, a)` in the resolve texture. The previous straight-alpha blit then multiplied those by `a` a second time, darkening thin lines and curves over the transparent background. `PREMULTIPLIED_ALPHA_BLENDING` matches what is actually in the resolve texture and renders edges at full intensity while still leaving fully-transparent pixels untouched on the surface. Co-Authored-By: Claude Opus 4.7 <[email protected]>