I'm trying to create a custom weapon slash trail but the problem is the transparent part of the trail renders as black. What I've done is:
- On Photoshop, drew a white circle and feathered it so it fades to transparent at the edges (the background is transparent - not black)
- Created a new unlit shader graph (attached)
- Created a material and added the particle I drew
- Assigned the material to the trail renderer in a particle system
The trail created has the color I've assigned but the transparent areas are black. What can I do to fix this? On the drawn sprite I've checked Alpha is Transparent and the source is Input Texture Alpha.
I'm very new to shader graph and shader building in general and I'm trying to learn how it works. Any help would be greatly appreciated.
[1]: /storage/temp/175274-shadertest.png
↧