I think the main issue I’m having is that WPO does not play nice with Nanite under any major changes by WPO. So I’ve been looking at how I can map the data into the displacement slot of the material instead. Currently, this slot only works in local space, so I’ve been looking for ways to try and work around the limitation, and managed to get this from ChatGPT:
Example Material Setup:
Here’s a more detailed node breakdown for your material setup:
- World Position → Get the world position of the current mesh vertex.
- Transform Vector (World Position to Landscape Space) → Transform the world position to landscape space using the
Transform Vectornode. - RVT Sample (WorldHeight) → Use this to sample the height from the RVT using the transformed landscape coordinates.
- Height Difference → Subtract the landscape height from the world position’s Z-component.
- Multiply by Displacement Factor → Multiply the result by a scalar value to control the amount of displacement (how far you want to push the mesh based on the landscape height).
- Displacement Slot → Finally, connect this calculated displacement to the Displacement input in the material.
The solution doesn’t work (transform node doesn’t even have a “Landscape Space”), but it may be onto something with using the transform node to try and change world space data into local spaced data. I just need to search around for a HUMAN tested and proven method of doing this, if it’s possible right now with the current tech?