Skip to content

Add Rect SDF renderer to uber shader #183036

Description

@gaaclarke

Migrate drawRect() to use an SDF-based fragment shader when the SDF switch is enabled. This will mitigate aliasing artifacts (jaggies) on non-axis-aligned edges and allow for better batching by combining the math with existing primitive shaders.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions