While working on my project, I am continually having the issue of light somehow bleeding through walls when there shouldn’t be any light coming through it. Additionally, when I am far away from a shadow source the shadow seems to be broken up. This happens from only a couple of metres away and when I get closer the shadows become more pronounced. I tried increasing Lightmass to 1024 which was recommended but nothing happened. How can I make the shadows better? I am also having an issue with one of my areas where no shadows are cast from a barred entrance I had created, which I’m guessing has something to do with the Sun’s rotation (which I am also trying to figure out how to lock it at a specific time of day). My Time of Day blueprint is very basic and rotates the sun and shadows with issues like the Sun shining from underneath.
Here are some pics of lighting/shadow issues and my Time of Day blueprint:
Barred Entrance Lighting Issue
Additionally, I am having a problem with one of the stairs I have created where it comes up with a warning error after building [production] lighting where it says “NormalStairStaticMesh - Object has wrapping UV’s”. I’m not sure what a UV is but I guess it has something to do with a lightmap or something? The stairs don’t seem to collide with anything, and I don’t have any problems with the two other stairs that I have placed.
Also, I have been wondering for the longest time how I can lock the player actor to a surface like the floor at a specific height so that in Play mode I can move around the level at a specific pace without gliding around everywhere, while also being able to move up stairs as apparently there are issues with getting a player actor to move up stairs? Also, since my project will be in third-person but I started the project from scratch how can I design my own 3rd-person player actor that is able to move around in a level?
I’ve not had time to finalize and get this up on our Wiki Lighting Guide yet but you can take a look at this for adjusting the setting for your Cascaded Shadows for your Directional Light: Dropbox - Error
This will walk through what each settings does with visual examples to help illustrate.
I had a look at the lighting wiki guide and tried some of the things in the guide, but I haven’t been able to solve the issue of light bleeding through walls/surfaces. I did, however, manage to make shadows lighter by repositioning the sky light I had placed but I haven’t been able to achieve anything else. I modified the DirectionalLight actor but nothing seemed to change. My settings for the Directional Light are:
Should I modify Cascaded Shadow Maps? I don’t think I touched them except to increase the cascade number from 3 to 4 and I think to change the Distribution Exponent.