Hi!
I have a problem here with my foliage shadows. I’m using the Twinmotion trees from the plugin Twinmotion ToUnrealContent. When I’m painting the trees on the surface, the shadows appear when it is close to the camera, but as soon as I go in distance it disappears, as shown on the image. I want to have the shadows always visible from any point of view. To solve the problem, I tried everything I saw on forums:
- I enabled Generate Mesh Distance Field in the project settings.
- In the foliage settings of the staticMesh tree I enabled Cast shadow and Affect Distance Field Lighting. I also tried with Cast Dynamic Shadow and Cast Static Shadow, by changing the mobility of the tree from static to Movable, but nothing worked.
- In the scene I only have a directional Light and Light source. They are all movable. In the directional Light and Light source I enabled the cast shadows option. In both of them, I enabled the distance field shadows and I increased the DistanceField Shadow Distance. I also played with the Cascaded Shadow Maps options, with the Dynamic Shadow Distance MovableLight.
- In the StaticMesh tree, I only have 1 LOD (LOD 0). I enabled Two-Sided Distance Field Generation. In the LOD settings, I tried to change the LOD Group to different method, like foliage. In General Settings I enabled the Generate Mesh Distance Field.
With all that, I wasn’t able to solve this problem. I hope that someone will have an answer to this. Thank you!