- Home /
Help with creating a particle material with Shader Graph
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
Your answer
Follow this Question
Related Questions
How to move alpha mask along the floor plane as the user (camera) moves 1 Answer
How can i add a alpha value to this shader? 1 Answer
My first shader with alpha, disappears at distance 0 Answers
Custom shader converting to urp need help 1 Answer
Referencing the current pixel's world coordinates in the SURF block of a shader 1 Answer