#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.
#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.