I’ve a question from the example “shadow demo project”
in that example there’s a house with many rooms , and in every room there is a Point Light
in that example you can active the shadows from the Point Lights . and even if I add a new one will make shadows to objects too.
and even if I move the objects the shadows will move too .
how that’s happened ?, ( The Point Light doesn’t make a shadows )
I tried a lot but I didn’t figure out how they did it
You do this by going into the inspector of your point light, find the ‘Light’ component, change the ‘ShadowType’ value to ‘Soft shadows’ or ‘Hard shadows’.
This will probably give a little warning below saying that ‘only directional lights will have shadows in forward rendering’. We will fix that by … (next step)
[2]. Set your render mode to ‘Deferred lighting’. Do this by going to ‘Edit’, ‘Project Settings’ and then ‘Player’. Under ‘Other Settings’ you’ll find ‘Rendering Path’, which you should set to ‘Deferred Lighting’.
[3] If this still doesn’t do the trick, be sure to set your Shadows to high enough render distance. Do this by going to ‘Edit’, ‘Project Settings’ and then ‘Quality’.
coooooooool , thank you sooooooo much :)
– Fadi