Skip to content

Composite render textures with alpha in every backend - #5

Merged
jslauthor merged 1 commit into
mainfrom
fix/layer-texture-alpha
Jul 17, 2026
Merged

Composite render textures with alpha in every backend#5
jslauthor merged 1 commit into
mainfrom
fix/layer-texture-alpha

Conversation

@jslauthor

Copy link
Copy Markdown
Contributor

All five backends wrapped their Rive render target for the scene graph via createTextureFromRhiTexture without the
QQuickWindow::TextureHasAlphaChannel option, so QSGSimpleTextureNode composited the texture as opaque: the renderer's transparent clear (clearColor 0) came out solid black wherever the artboard didn't cover the item.
Invisible with Fit.Cover full-bleed artwork — every pixel is painted — which is why it survived this long; any artboard smaller than the item (badges, spot animations over app backgrounds) showed a black box.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com

All five backends wrapped their Rive render target for the scene
graph via createTextureFromRhiTexture without the
QQuickWindow::TextureHasAlphaChannel option, so QSGSimpleTextureNode
composited the texture as opaque: the renderer's transparent clear
(clearColor 0) came out solid black wherever the artboard didn't
cover the item.
Invisible with Fit.Cover full-bleed artwork — every pixel is painted —
which is why it survived this long; any artboard smaller than the item
(badges, spot animations over app backgrounds) showed a black box.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jslauthor
jslauthor merged commit b206713 into main Jul 17, 2026
4 checks passed
@jslauthor
jslauthor deleted the fix/layer-texture-alpha branch July 17, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant