x


Does the Particle Animator work with transparent shaders?

When using alpha-blended shaders (either the ones found in the Particles/ shaders section, or in the Transparent/ section), the Particle Animator doesn't seem to want to animate my particles. I'd like them to fade out smoothly, and if I add a particle animation that fades them out, nothing happens.

more ▼

asked Mar 13 '10 at 08:43 AM

qJake gravatar image

qJake
11.6k 43 78 161

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Yes, it does.

The one in Particles/Alpha Blended should work as you're expecting. I don't think the regular transparent shaders in the transparent family will though.

I just tried this with the "palmbranch" texture from the standard assets, using the Particles/Alpha Blended shader, and it fades the particles in and out fine, while also preserving the alpha of the texture.

To reproduce my test, start a new project (include standard assets), create a new material, put the "palmbranch" texture on it, and set the shader to "Particles/Alpha Blended". Then create a new particle system, and apply your new material to it.

more ▼

answered Mar 13 '10 at 09:15 AM

duck gravatar image

duck ♦♦
40.9k 92 148 415

Weird... mine just "pop" out, even though I have the animation set and everything... I'll nose around a bit and figure something out. It helps to know that I'm tracking down my own bug instead of something that Unity can't do... thanks for the info. ;)

Mar 13 '10 at 09:33 AM qJake

yes - to confirm this you might want to start a new project, include standard assets, and reproduce my test above.

Mar 13 '10 at 09:40 AM duck ♦♦
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1649
x636
x326
x241

asked: Mar 13 '10 at 08:43 AM

Seen: 2763 times

Last Updated: Mar 13 '10 at 08:43 AM