M
M
MishkaVNorky2019-04-23 07:46:27
C++ / C#
MishkaVNorky, 2019-04-23 07:46:27

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

2 answer(s)
G
GavriKos, 2019-04-23
@GavriKos

The simplest thing is to use spotlights. But they are not very smart. Look at assetsotre plugins like fast shadow projector.

D
Denis Gaydak, 2019-04-23
@MrMureno

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 question

Ask a Question

731 491 924 answers to any question