Shadows on SpotLightComponent
I'm not sure if I'm doing something wrong or what, but I can't seem to get a dynamic spotlight component attached to an actor (the player's camera in this case) to cause any shadows. I have cast shadows, cast static shadows, and cast dynamic shadows all turned on on the light, and the mesh I've been aiming at has cast shadows and cast dynamic shadows turned on. Additionally, shadows aren't cast by BSP brushes.
On the other hand, attaching a point light component works as expected.
Any help would be much appreciated. Thanks!
asked Dec 23 '14 at 05:36 AM in Rendering
So after some research I got this setup working:
I should admit, that this one didn't start working properly, until I raised Engine Scalability Settings (no shadow, no even dynamic lighting on the static objects with Low level setup).
That is where it is located:
So basically I think you just need to check this options, since your project is intended for PC and I just did the same setup as yours.
answered Jan 12 '15 at 10:37 AM
I have the same problem here: A Spotlight, which is inside of a Blueprint, doesn't cast shadows. A Spotlight, which is placed on the map without a blueprint works fine. A Pointlight inside of the BP works fine, too.
I have the same settings as newest has (as far as I see). Using version 4.9.2
Btw: I havent used the player pawn as BP.
I hope, someone has an idea, what I can do.
answered Oct 24 '15 at 04:36 PM
This is the inside of my very ugly Actor/BP. Maybe it helps anwering the question.
answered Oct 24 '15 at 04:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here