Hi everybody,
I’m currently having an issue with shadows and I can’t quite wrap my head around it.
First of a all, I have a terrain which is generated from noise and applied to a plane through a Material with world displacement. This seems to be working all well as I obtain the expected results shape-wise : I have a “mountain” looking landscape.
I also use the NormalFromHeightmap
material node, for my terrain to react correctly to light which, once again, seems to be working fine. However, the “moutains” in my terrain don’t seem to be able to cast shadows but other objects can (such as the cube in following pictures).
My plane ( StaticMeshActor
) is Movable
and my Light Source ( DirectionalLight
) is Movable
as well. I understand all these mountains are part of the same plane and are dynamically generated (as I can, for example, change the noise scale at runtime to obtain different shapes). But I don’t think this should matter, or ?
Would somebody have any idea how to get the mountains to be casting shadows ? Thanks a lot in advance.