Selection ring clips into terrace risers at a step #156
Loading…
Add table
Add a link
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?
Follows #143.
The pawn's selection ring (
SelectionHighlight.make_ring(), a flattenedTorusMeshwith an outer radius of 0.7) is wider than the space the pawn occupies. When a selected pawn stands near a terrace edge, part of the ring can push into the riser of the higher neighbouring tile, or hang in the air over the lower one. This is purely cosmetic: selection, picking and the highlight state are unaffected. It was found while verifying #143 and is not yet confirmed in a screenshot.Options
no_depth_test(and a raisedrender_priority) so it always draws on top. This is simple, but the ring would then also show through buildings and cliffs that should hide it.Decalprojected down onto the terrain. It follows the ground exactly, but check first whether GL Compatibility in 4.7 supportsDecalat all, since that renderer drops several 3D features.Acceptance criteria
tools/screenshot_pawn_selection.gdis a starting point).