Make the game real cool tailing blur effect

I found a lot of people want this effect tailing blur, and posted today.
Today production tailing blur effect, the effect is shown: two perspectives
Here Insert Picture Description
Here Insert Picture Description
of my role in the game there are sprint skills in the sprint behind to have a blur effect, this effect to meet, share and now everyone how to make.
1. The need to observe a solid intermediate transparency Dodge both basic picture of the texture shader, photoshop production is relatively simple.
Here Insert Picture Description
2. Make shader
Here Insert Picture Description
before a traditional shader, see if you do not support the version, the new version does not support urp to upgrade to version, you can also transform themselves into a shader graph, I do not demonstrate this relatively simple, there is not clear, I can refer the shader graph transformation case, is actually a color picture is multiplied with unlit mode, transparency can be set to 0.
3. Establish TrailShadow material, selected just Shader.
4. Add TrailRenderer component as an object, a tailing component.
Here Insert Picture Description
Explain: width is the width of that line trailing the overall width, I do not need this ending sharpened, just need to keep on it, so no need to change; Time Display Duration, 0.3 basically on it; Color is the color display, this is to be prefabricated, because of the different colors of the hero will certainly have to maintain their own style consistency.
Conclusion: This effect is good enough, of course, the kind of blur mesh imagelist storage practice, but it is recommended to use TrailRenderer can from the effect on the performance.

Published 49 original articles · won praise 8 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_23158477/article/details/105175008