Open woshihuo12 opened 4 years ago
float factor = alpha - effectFactor ( 1 + width ) + width; fixed edgeLerp = step(factor, color.a) saturate((width - factor)*16/ softness);
i want know why calculate like this. can have more explain?
very thanks..
float factor = alpha - effectFactor ( 1 + width ) + width; fixed edgeLerp = step(factor, color.a) saturate((width - factor)*16/ softness);
i want know why calculate like this. can have more explain?
very thanks..