Answer the question
In order to leave comments, you need to log in
How do you use shadows in mobile games?
Hello. Actually the question arose.
Mobile games and optimization. As a variant of a pseudo shadow (such as a circle under the hero), but how best to make it, if it's just a texture, then it will fall into the ground in places, on the slopes.
We must take into account that there are characters, cars and the city.
Answer the question
In order to leave comments, you need to log in
The simplest thing is to use spotlights. But they are not very smart. Look at assetsotre plugins like fast shadow projector.
https://habr.com/ru/company/mailru/blog/243737/
here as a starting point - you can read about planar shadows.) they have a number of limitations, the main of which is that they only project onto a flat plane, but suddenly you fit.
Yes, it's good to know :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question