Minor improvements xd
This commit is contained in:
parent
f3f2547724
commit
0e97e54ffe
21 changed files with 189 additions and 184 deletions
|
|
@ -33,7 +33,7 @@ fn fragment(@location(0) uv: vec2<f32>) -> @location(0) vec4<f32> {
|
|||
|
||||
let decayed = clamp(vec4(
|
||||
current.rgb * settings.decayRateTrails,
|
||||
current.a * settings.decayRateBrush
|
||||
max(0, current.a - settings.decayRateBrush)
|
||||
), vec4(0), vec4(1));
|
||||
|
||||
return decayed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue