Android - shadow quality affecting dynamic light brightness

hi!

ive come across this issue where the shadow quality setting is affecting dynamic light brightness on Android (both OpenGL ES and Vulkan) in 5.7:

Android low shadow quality:

Android medium shad quality and above (expected result):

i get the above behaviour when packaging and deploying onto a mobile device.

for reference this has in SM6 the brightness is similar to the low setting in Android but consistent between all shadow quality settings:

i would like to add that this project was upgraded from 4.27 to 5.3 and now 5.7. before 5.7 the dynamic light brightness looked like the android medium shadow screenshot above and consistent between SM5 and Android.

any help would be much appreciated, thanks!

Hello there @Dr.J!

At first glance, that feels like a lot of migrations for your project, so your cache is carrying over a lot of stale data. Before any other changes, I would suggest performing a full cache clear for your project.

To do so, go to your project’s main directory, and delete folders Binaries, Intermediate, Saved, and DerivedDataCache. After that, right click your .uproject file, pick “Generate Visual Studio project files”, and once completed, re-open your project.

Allow it to rebuild, and make sure all shaders are recompiled. Now, test if the shadows and lights are interacting as intended.

thank you for your reply!

i tried deleting the cache folders but since my project is blueprint only i wasnt able to regenerate visual studio project files, this has solved my issue!

shadow quality no longer affects the look of the moveable spotlight but there is still a difference between OGL/Vulkan High/medium/low and SM6/Vulkan SM5:

Android OGL/Vulkan:

for these preview platforms:

Android SM5:

PC SM6:

the spotlight has Use Inverse Squared Falloff turned off, this could be the reason why it looks different between platforms:

but at this point i consider my issue solved, i can compensate for the difference between mobile and SM5/6 manually if necessary. thank you for the help!