migrate to new c djstdlib
This commit is contained in:
@@ -16,7 +16,7 @@ float roundedRectSDF(vec2 sample_pos, vec2 rect_center, vec2 rect_half_size, flo
|
||||
|
||||
void main() {
|
||||
vec2 softness_padding = vec2(
|
||||
max(0, frag_softness*2-1),
|
||||
max(0, frag_softness*2-1),
|
||||
max(0, frag_softness*2-1));
|
||||
|
||||
float border_factor = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user