Hi Nice Unity People,
I tried to do a billboard particles system using sprite particles.
i need the alpha around the particles to make it nice and smooth.
but the alpha turn in black as you can see on the screenshot >>
i use a psd files with alpha channel,
the frangement shader look as that >>
float4 FS_Main(FS_INPUT input) : COLOR
{
return _SpriteTex.Sample(sampler_SpriteTex, input.tex0) * input.color;
}
Any Idea ?
You need to enable alpha blending.
Blend SrcAlpha OneMinusSrcAlpha
ZWrite Off
