View Full Version : Additive effect on particle's shader

04 April 2011, 06:43 AM
Hi there

I'm trying to create a shader for my particles that gives them an additive effect... I'm currently getting the correct shading and oppacity, but can't imagine how to get the additive.
Any suggestions?

Currently I have this:
Which I like cause it respects the overall alpha and the fuzzy edges.
But it's not additive like this:
Here's what my shader looks like so far...

Thanks a lot for any insights!

04 April 2011, 03:02 PM
setting the opacity to {0,0,0} gives You a pure additive behavior.

04 April 2011, 09:06 PM
Indeed! Thanks for this one, man! Where would you recommend me to look for more info on shader building? Info like the one you just gave me?


04 April 2011, 09:48 AM
Have a look at this list, there are some good books in it:

Especially the books on renderman, Advanced Renderman and The renderman shading language guide will give you lots of information on shader writing.

CGTalk Moderation
04 April 2011, 09:48 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.