Question: Blend Modes Not Working in Custom D3D11 Renderer (C++ Rive Runtime)
We’re using the native C++ Rive runtime (not Unity’s RiveTextureRenderer) with a Direct3D11 UAV-based pipeline:
Rendering to a DXGI_FORMAT_R8G8B8A8_TYPELESS UAV texture
Then copying to the swap chain backbuffer
frameDescriptor.disableRasterOrdering = true, msaaSampleCount = 0, clockwiseFillOverride = false
UAV + premultiplied alpha confirmed working
Shapes, alpha, and images render correctly — but blend modes (Screen, Multiply, etc.) do nothing
We expected InterlockMode::atomics to enable blend modes, but they render as normal. i.e. They don’t blend with multiply screen. Transparency works for alpha >1.0 etc 🥴
Question:
Is there anything else needed in the D3D11 setup (or FrameDescriptor/platform flags) to make blend modes work in atomic mode?
Or could this be a current limitation/bug in the C++ runtime?
My test Rive file is just a simple file with shapes and typical blend modes applied (multiply / screen)
*****
Update:
I needed to enable advacned blending in my CMAKE during shader compilation
*****