A
A
Alexander Andropov2019-06-10 20:15:19
Unity
Alexander Andropov, 2019-06-10 20:15:19

How to make footprints?

Good afternoon. There is a machine, how to make tire marks when braking, for example.
Please tell me the article maybe or an example on YouTube.
Thank you very much .

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Ivanov, 2019-06-10
@LongOf

Usually this is done by the Trail system, look =)
docs.unity3d.com/Documentation/Components/class-Tr...
Here is a guide using simple shadows as an example:
https://gcup.ru/go?http://od-production. ru/t/02.html
in the unity example

spoiler
https://gcup.ru/go?https://www.assetstore.unity3d....
to apply tire marks, a special shader is used, a generated mesh and a programmatic change in the surface texture at the touch points (according to normals, they did without spotlights) ... the script is solid there, but you can figure it out.
I didn't like the parallax in the yunk at all. I just made a crazy hatmap for the footprints of the moon rover on the ground.. and he showed me almost flat garbage!! but if you have a fixed camera angle, then I think simple decals with a normalmap through a spotlight will be quite enough.

G
GavriKos, 2019-06-10
@GavriKos

A fashionable material with a self-written shader, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question