- Home /
No shadows with PointLight/SpotLight
Hi everyone,
I got problems recently with my PointLights, they not showing shadows anymore (they did in the previous versions and I do not know what changed)
I'm using 'HardShadows' for my pointlight, resolution to 'Use Quality Settings', baking is 'mixed'. MainCamera (and only cam in the scene) is set to 'Use Player Settings' for Rendering Path.
In PlayerSetting I set Rendering Path to 'Deferred' and Quality Settings to 'Hard & Soft Shadows'
It worked with the exact same parameters few weeks ago (but the light is only active in the game from 8pm to 8am, so I didn't notice it before...)
It works fine with 'legacy deferred (light prepass)' in PlayerSettings but it considerably slows down the game (working on Android)
If someone can light me up about that, thank you all!
ps: i'm using Unity5 nota: can't do a lightMapping cause the pointLight may move during the game
Answer by MyOwnGames · Nov 07, 2016 at 08:07 AM
Ok, found the cause after the entire day... I had put Legacy Shaders on all my GameObjects. I chose 'Standard' instead and it worked