Matt, thanks for the suggestion. It's similar to the setup I was using, but I used a heightfield clip node instead of a separate heightfield and adjust node. Both setups worked fine when I tested them in empty documents, then didn't work in the actual scene.
I think I see what's happening – the setups work fine at the origin but not so well at a distance.
The planet in the working scene is rotated so the apex is at the center of the DEM. But it's a large DEM, and the rendered location is about 32 km from the apex. It's also at a very high altitude, over 4,000 meters.
Here is a flat heightfield 1 km on each side, positioned 32 km from the apex and raised to 4,000 meters with a heightfield adjust node:
[attach=1]
When the mask is applied the heightfield sometimes disappears from the rendered view entirely:
[attach=2]
At the scene origin the same masked heightfield renders OK:
[attach=3]
Could the distance from the origin cause this? I can send a TGD file if that would help.
SB