Skip to content

Instantly share code, notes, and snippets.

@michlimlim
Created November 18, 2021 16:50
antialiasing
if (corner_radius > 0) {
color.a *= 1.0 - smoothstep(-0.75, -0.1, shape_distance);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment