A short tutorial on how to make a deterministic replacement for PerInstanceRandom to introduce pseudo-randomness to individual instances inside InstancedFoliageActors or InstancedStaticMesh actors.
This approach uses the PerInstanceCustomData node in the material, and a custom Blueprint to give you stable functionality to PerInstanceRandom that will work with nDisplay.
This approach can be used to add pseudo randomness to any material attribute.
https://dev.epicgames.com/community/learning/tutorials/wdMm/unreal-engine-deterministic-replacement-for-material-perinstancerandom-for-ndisplay