Skip to content

Tile Sprites render incorrectly when pixels per unit is low and margins are small #4213

@yaustar

Description

@yaustar

Project: https://playcanvas.com/project/919232/overview/tiled-sprite-project

When the pixles per unit is 1 and the margins are close or the same as the boundary of the sprite, the mesh is larger than the sprite bounds

eg
image
image

Renders like this:
image

Whereas a sprite with the boundaries
image

Renders correctly
image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions