This is completely redundant in prman21 because of PxrDirt, but since our project was in 20 I wanted a way to procedurally add dirt to our assets. In the end it wasn’t used, but it was a great introduction to the new RIS API!
The code is available in the GitHub repo.