I do not want the whole sphere to be affected, so I added a maskfromgeometry node, but this does not affect the displacement. See image.
Do I have the correct node? Have I completely misunderstood how to use masking? Any help appreciated.
animatrix_
Hi,
You need to normalize the dist attribute and multiply that with the displacement amount inside the shader for it to take effect. The shader won't automatically pick that up.
animatrix_
RS Point Attribute should use the attribute name dist, not float.
Also promotion and the fit VEX code needs to come after the Distance from Geometry node because the attribute is created there. You can't modify the distance values before they are created.
tamte
Based on your first screenshot you already have remapped f@mask attribute, no need to deal with dist
So you can directly bind "mask" attribute in the shader
animatrix_
You get that warning because you need to turn off Delete Original in the first Attribute Promote:
tamtetamte's method works and is simple, but I would still like to understand and resolve your method.
detail ( 0, "dist" );