Four-layer ground: tint formula per material #195
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!195
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/195/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 19:18 UTC · original
holdmysocks:claude/ground-tint→master· +85 −1 · 2 files · 1 commits · merged 2026-11-24 19:36 UTCWhat
A four-layer ground material's
multilayerblock getstint_formula: the tint as the shader computes it, with this material's switches resolved. The tint is still not applied to the exported textures. The existingtinttext stays as it is.steps: the seven steps from layer colour to tinted colour (mask, vertex tint, texture tint, final mix by the vertex colour's alpha).switches: the material's three tint switches (vertex tint on, vertex tint second form, blend amount scaled by the mask).per_layer: the mask (the data map's alpha or its inverse) and its scale, the vertex tint and texture tint modes (multiply, luminance or off), intensities and blend amount.inputs,second_form,source,not_read.Checked
cargo test -p sixng-core --lib: 179 passed.Not decoded or not checked
7a090c2a) and the tint's effect on the normal and roughness are not read.multilayerblock today (56 of the 203 surveyed) get notint_formulaeither.