Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -40,7 +40,7 @@ float4 MainPS(VertexShaderOutput input) : COLOR
|
||||
float4 res = input.Color;
|
||||
float distFromLine = length(input.Normal);
|
||||
float alpha = 1.0 - ((clamp(distFromLine, (1.0 - feather),1.0) - (1.0 - feather)) / feather);
|
||||
res.a = alpha;
|
||||
//res.a = alpha;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user