Change Fragment_Before_FragColor after applied to material

With the reference to below playground, Can we change the border-color and thickness even after it’s applied to a material

Adding @nasimiasl the king of custom materials

You need to update the values that are passed here:

mat.getEffect().setColor3("borderColor", borderColor);
mat.getEffect().setFloat("borderThickness", thickness);

i see so late :slight_smile:

1 Like