Yellow seam where marsh meets dry savanna (dual-grid base bleeds through) #200
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo#200
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Reported from the client: at the marsh / dry-savanna border a thin yellow line shows under the marsh.
Diagnosis
BiomeTransition.Orderranksmarshlast, i.e. highest priority, anddry_grasslandfourth. The dual-grid draw (GridRenderer.DrawDualTile) therefore takes the lowest-priority corner as the base full tile and paints each higher biome over it through a corner mask (DualGrid.MaskAtOrAbove). On a marsh/savanna edge that means:Wherever the mask's coverage falls a pixel short of the diamond edge, the bright yellow base shows through beneath the dark marsh. The pairing is the worst case in the palette: savanna is the lightest ground, marsh the darkest, so any gap reads as a hard yellow line. (The masks already carry a ~2px expansion added when the original 1px seams were fixed in #162 — evidently not enough for this pair.)
Things to try
scripts/genmasks.py), then re-bake.Definition of Done (delta)
Related: #162 (dual-grid borders), #137.
Risolta da PR #202 (
dc0b132): il seam giallo marsh/savanna è stato eliminato rendendo binario il bordo delle mask dual-grid (scripts/genmasks.py,SOFT0.18→0.015) e correggendo il dimensionamento dell'overlap in pixel di tile. Chiudo — completata.