Colorize the borders of trail renderer

Hi Guys)
I’m building a first project in Unity, so I ask for advice in one not obvious question.
I want to do scratch with layer break effect, and almost succeeded.
The implementation is as follows.
On the stage is a picture, on top of which is an image with a blur effect.


I made it so that when you move the mouse, a blur tear effect appears (trail renderer with standard material. Standard material causes the blur to “disappear”). In general, everything is not bad, but I need to somehow highlight the edges of the scratch. (scr 1 - as is, scr 2 - I want to get)
5103647--503405--scr2.PNG 5103647--503408--scr3.png
Please tell me, what is the easiest way to do this?

Hi @alexandergikalo and welcome,

If i understand correctly, you have a trail there, which stays and de-blurs the area? If that is the case, you could add a simple texture to the trail renderer. Very easy to do. And if you need to combine the texture with another texture, you could probably find a shader template that you can modify.

It does not texture the end cap part of the mesh perfectly, but I think it’s pretty OK looking if you are looking for a simple fix:

5103761--503438--trail_outline.png

Using texture does not give transparency effect ((
Apparently you have to do a shader, which you wanted to avoid (((((