Download

Foliage Wind creating weird shadows on top of mesh

Hey guys, how are you all doing? I’m getting a very weird result when trying to activate the wind feature on a plant I got from Megascans. For some bizarre reason the shadows on top of it keeps panning. Deactivating the directional light fixes it, and it doesn’t happen on the model panel, only in scene. Have you guys ever seen this?


Static meshes need to be set to evaluate WPO to work with raytraced shadows. Search the actor properties for it.

1 Like

Oh wow, thank you so much, Arkiras, that worked perfectly for the static mesh. However, in case I need to instance it with the foliage system, how can I fix that?

Ok, I found a pretty nifty way to overcome this

instad of using static mesh foliage, I tried it on actor foliage and it worked with ray-tracing

Use actor foliage instead of static mesh foliage:

1.Make a new blueprint class that inherits from static mesh actor
2.Turn evaluate world position offset on in the static mesh component, set the mesh to your desired mesh
3.Create an Actor Foliage class that uses your new class as its base class
4.Use the actor foliage with the foliage tool

Just leaving this here in case someone stumble across the same issue as me

*courtesy of Arkiras:

1 Like