Skip to content

Make UberSDF work with gradients #184353

Description

@gaaclarke

#183864 added SDF rendering for rects and circles but it didn't include support for shapes that have gradients attached to them.

We can implement that easy by rendering the shape and the gradient then doing a porter duff blend. In the future we can calculate the gradient in the fragment shader as a potential optimization.

Metadata

Metadata

Assignees

Labels

e: impellerImpeller rendering backend issues and features requeststeam-engineOwned 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