Can I change the transparency of the particles in the viewport? Actually I would like them to fade out over time. While this is possible for sure with the actual shader, I would like to preview the behavior in the viewport, so the particle color gets more transparent over time. Possible?
Cheers
Thomas
Particle density/transparency in the viewport
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Particle density/transparency in the viewport
For a speedy trick get particle color>multiply color by scalar>set particle color
Put alpha on and factor to 0.9 or more.
Put alpha on and factor to 0.9 or more.
-
nixx
- Posts: 42
- Joined: 09 Jun 2009, 18:25
Re: Particle density/transparency in the viewport
Or maybe even better,
separate the color channels using an rgba to color node, operate only on the alpha, then combine them back with a color to rgba. That way you won't mess with the actual color of the particles (if you 're using that in the shader).
You can save it as a quick compound named "modify particle alpha" or something, it often comes in handy.
separate the color channels using an rgba to color node, operate only on the alpha, then combine them back with a color to rgba. That way you won't mess with the actual color of the particles (if you 're using that in the shader).
You can save it as a quick compound named "modify particle alpha" or something, it often comes in handy.
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Particle density/transparency in the viewport
Separate with color to rgba isn't it?
It works but you need to define a timer or frame counter since all particles fade at same time.
It works but you need to define a timer or frame counter since all particles fade at same time.
-
Pancho
- Posts: 659
- Joined: 19 Sep 2010, 09:28
Re: Particle density/transparency in the viewport
Thanks!!! Works like charme!
-
nixx
- Posts: 42
- Joined: 09 Jun 2009, 18:25
Re: Particle density/transparency in the viewport
Yeah, I got the nodes backwards, it was the middle of the nightBullit wrote:Separate with color to rgba isn't it?
You could use a per-particle attribute, like age for example.It works but you need to define a timer or frame counter since all particles fade at same time.
-
Pancho
- Posts: 659
- Joined: 19 Sep 2010, 09:28
Re: Particle density/transparency in the viewport
That's what I did. Per particle.
-
Bullit
- Moderator
- Posts: 2621
- Joined: 24 May 2012, 07:44
Re: Particle density/transparency in the viewport
Yep forgot about that.
Edit: Pancho with my option you don't need that.
Edit: Pancho with my option you don't need that.