Hi,
I’ve been working on my own material function that can blend materials using RVT. This is going great when manually placing the objects in the world. However, when using the same asset with a PCG graph I get some weird results. It seems as if the calculations are not made per asset but rather just once and then applied to all the static meshes that have spawned.
This image is of the static mesh which blends rather OK with the landscape. The highlighted area indicates the material from the static mesh (which is OK).
This image is of the same static mesh but then spawned into the world by a PCG graph.
You can clearly see that the position, or casting direction, is not being calculated properly and I think this is due to it not being done on a per asset base but rather just once. The landscape material now takes up almost all of the static mesh’s surface.
I have (sort of) confirmed this assumption by opening the static mesh’s detail view, in the view panel I can see the same result as portrayed in the second image:
My RVT Blueprint Function:
Am I missing a step or is PCG not yet supporting this type of blending that is achieved with RVT?