Skip to content

Gradients tint per vertex; a layer's textures sort by handle - #1101

Merged
samwhosung merged 7 commits into
mainfrom
sess/texdraw
Oct 13, 2026
Merged

samwhosung merged 7 commits into
mainfrom
sess/texdraw

Conversation

@samwhosung

Copy link
Copy Markdown
Owner

On the stock credits screen the fades drew as solid black boxes over the text, and the black bars covered the borders.

A texture's gradient now tints its four vertices over the texel (0x77f910, TL BL TR BR). A gradient alone draws nothing, and any vertex-colour write collapses it (0x77f750).

A layer batch sorts its quads by texture handle at End (0x7731a0), with an exact port of the client's qsort. Its tie order was checked against the client's own code. The client's handles are heap addresses, so different textures rank by a creation stamp that follows allocation order. That is a narrowed Deviation.

Extract costs what it did before. The options window's ground dim moves to BORDER to keep its look.

Tests cover the gradient, the sort and the stock credits frame.

Fixes #874
Fixes #1095
Fixes #1092

🤖 Generated with Claude Code

🤖 Generated with Claude Code

samwhosung and others added 7 commits October 13, 2026 10:17
Fixes #874

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes #1095

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@samwhosung
samwhosung merged commit a96977e into main Oct 13, 2026
@samwhosung
samwhosung deleted the sess/texdraw branch October 13, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant