do this happens when you hit play too?
Drag an atmospheric fog, a directional light and a lightmass importance volume and then build the lighting. This is what I learnt for creating shadows. But there are no shadows in my landscape for about a month.???
Absolutely yes! UE version 4.11.0
From what i can tell you might be missing some settings.
- Make sure the trees are set to cast shadows
- Verify that the diectional light cast shadows as well
- If you are baking the light, the landscape might be to large to bake a proper lightmap
- Are your GPU drivers up to date?
And you could try placing a basic cube into the scene and see if casts shadows. If not then there might be a problem with your installation of UE4.
Also, check the Engine Scalability Settings from the Settings button in the Main Toolbar.
Hhm? Well if that dose not do it then I recommend providing the scene file for debugging ( or a simplified version of the problem).
Just compress a zip or 7z.
You can delete the"CacheAssetRegisrty.bin" file in the intermediate folder to bring down the file size (because it is created every time you open the project file in UE4 anyways)
Well expungeme I the trees and lights are all set to cast shadows(details panel)
The landscape has a scale of 100,100,10
GPU drivers report no updates.
Well this problem is only recent started last month. Before there were shadows. Even the landscape content eg maps have no shadows.
While placing a cube mesh, I found that two surfaces of it facing away from the light were darkened just like it happens in case of shadows, but there were no shadows on the ground (landscape).
I will also try out your engine scalability settings and report what I found.
Can I give you a different landscape 'cause same problem with all cases.
Well I could not find your settings, can you send me a screenshot? Where is it located, in project settings or engine settings?
Sure, Just put an attachment in the response and I will check it out.
Here’s my landscape:
Landscape
Ok I found your problem.
- Go to “Edit” - “Project settings” - “Rendering” And Make sure you have “Generate Mesh Distance Fields” activated in the lighting tab.
- Restart Unreal Engine (if it was not already activated).
- Select your Directional Light, Expand the “Light” Tab by clicking on the down arrow.
- Deactivate " Cast shadows for Cinematic objects only".
And there you go!
Thanks a lot!!