Going a bit deeper into Skia shaders in Aurora. When the regular canvas / drawscope APIs are not granular enough to express the visuals, such as gradients based on bezier curves or softly clipped rounded corners, shaders come to the rescue. On the left, you can see the "flat" gradients on buttons and comboboxes. On the right, using a custom shader to emulate a slight specular highlight on the same controls.
❤️ 11
k
Kebbin
12/29/2021, 10:38 AM
Wow! Very subtle, but it really livens it up somehow! 😎👍