PDA

View Full Version : Additive effect on particle's shader


rafaelfs
04-09-2011, 07: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:
http://renderfarm.com.br/cgsociety/right_edges_but_not_additive.png
Which I like cause it respects the overall alpha and the fuzzy edges.
But it's not additive like this:
http://renderfarm.com.br/cgsociety/additive_but_wrong_edges.png
Here's what my shader looks like so far...

http://renderfarm.com.br/cgsociety/network.png

Thanks a lot for any insights!

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

rafaelfs
04-09-2011, 10: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?

Cheers

pclaes
04-11-2011, 10:48 AM
Have a look at this list, there are some good books in it:
http://www.amazon.co.uk/Technical-Directors-books/lm/R3ES60SQKYX1EM/ref=cm_lmt_dtpa_f_1_rdssss0

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-11-2011, 10: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.