Jump to content

Additive color shader


Recommended Posts

hello,

i would like to achieve additive color effect in shader, when several objects overlaps each other and creates a 'burn' effect

where eg. areas with no overlap is in default color, areas with 1 overlap is ligher and areas with several overlaps is almost white or white (depending on color).

how could i achieve this?

thank you for your time

Link to comment
Share on other sites

Have your shader return more color than opacity. Usually shaders multiply the outgoing color by the opacity, which is of course correct, but not doing that makes the effect additive.

For example, disable the premultColors VOP in the Constant gallery material (and put down the opacity) to make it's effect additive.

  • Thanks 1
Link to comment
Share on other sites

Have your shader return more color than opacity. Usually shaders multiply the outgoing color by the opacity, which is of course correct, but not doing that makes the effect additive.

For example, disable the premultColors VOP in the Constant gallery material (and put down the opacity) to make it's effect additive.

thank you for explanation

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...