Gradual Merge by Distance Based on Camera Proximity - Field Issue

Hi,
I’m currently trying to create a gradual “Merge by Distance” effect in Geometry Nodes, where the merging distance increases progressively based on the proximity of the vertices to the camera.

Unfortunately, the “Merge by Distance” node only accepts a single float value for its “Distance” input, and not a field. I also tried creating a static attribute, but that doesn’t work as intended.

Thank you for your help!

merge_by_distance.blend (943.7 KB)

Try this:

NFX_DistanceMerge.zip (392.1 KB)

1 Like

Thanks for your response! However, I’m looking for a gradual merge based on the distance from the camera. In your solution, the merge toggles between two states, but I need it to progressively increase as the distance grows :confused: