Distance Fields flicker in material

Hello,

Using the ‘DistanceToNearestSurface’ node in a material results in crazy flickering on the surface.

Result: https://imgur.com/a/4TfhOS1

This seems like a recent behaviour? I’ve used the node extensively since 4.2 and never saw anything similar. Couldn’t find a matching ticket, apologies if already flagged.

Cheers

Steps to Reproduce

  • create material
  • plug ‘distancetonearestsurface’ node to emissive or base color
  • assign to mesh
  • observe flickering

Hi Phil,

I tried to check out the image you uploaded to Imgur, but I did not see anything there. Could you please re-upload it here so I can see the flickering artifact you are referring to?

Best,

Tim