Density Bug

hi,
i have a strange bug when i try to mix two density values with a distance by object KCM. I got the KCM from the Documentation Section und it works like a charm with my color channel but i´d like to use this setup for the density aswell.

i only want:
particles, being close to the object -> density 1.0
particles which are faraway from object -> density 0.1

But it seems a bit buggy, because i get those white clamps with no reason…
Result.PNG
if i input my floats seperately into the canneloutput i get nice results for each state but with the blend it doesnt work.
Full Density.PNG
could someone please point me in the right direction?

cheers Cruzifer

First thing to try is to add a Clamp between 0.0 and 1.0 before you feed your distance value into the Blend. The Blend does not clamp automatically, so if your control value goes above 1.0, so will the Density. If that does not work, let us know…

thanks bobo,
works like a charm, already tried a normalize and magnitude but not a clamp :wink:
i really appreciate your quick response and support!

cheers Cruzifer

have a video of that? looks pretty neat! :slight_smile: