tile_border_automation - ryzom/ryzomcore GitHub Wiki
title: Automate tile border padding in build pipeline description: Proposal to let artists author at 127x127 / 254x254 and have the build pipeline pad edges automatically published: true date: 2026-03-15T00:00:00.000Z tags: editor: markdown dateCreated: 2026-03-15T00:00:00.000Z
Currently, artists must manually ensure that tile textures have duplicated 1-pixel borders (left=right, top=bottom for 128x128; doubled outer edges and doubled middle seams for 256x256). This is error-prone and adds unnecessary complexity to the art workflow.
The border duplication is purely mechanical — it exists for bilinear filtering at tile seams and could be done automatically:
- 128x128 tiles: Artists author seamlessly repeating textures at 127x127. The build pipeline pads by duplicating the first row/column to the last.
- 256x256 tiles: Artists author at 254x254 (with the shared 128x128 outer border already in place at the edges, and the middle seam as a single pixel). The pipeline duplicates the outer edges and the middle seam row/column to reach 256x256.
The tileset's shared border would be defined once (from the first tile) and automatically applied to all tiles in the set.
This would eliminate:
- The border validation checks in
tile_edit.exe(or at least move them to build-time warnings) - The manual border-copying workflow artists currently follow
- A common source of confusing errors when adding tiles