Push from tablet

This commit is contained in:
Julian
2021-05-13 00:59:22 +02:00
parent 014a62b2a1
commit ff05d9a81b
3 changed files with 257 additions and 39 deletions

View File

@@ -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;
}