[5.7] Why doesn't Mesh Distance Field work on materials?

I have the following scenario:

The floor/plan has a material with the following graphic:

I’ve watched many tutorials on Distance Fields in Unreal, and I’ve read the official Distance Fields page for Unreal version 5.7. I have “Generate Mesh Distance Fields” enabled. All the tutorials do the same thing, and it works. I’ve also tried doing it without the 1-x node and reducing the distance parameter. Why isn’t the cube drawing the plane?