depelos Posted August 16, 2012 Share Posted August 16, 2012 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 Quote Link to comment Share on other sites More sharing options...
eetu Posted August 16, 2012 Share Posted August 16, 2012 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. 1 Quote Link to comment Share on other sites More sharing options...
depelos Posted August 16, 2012 Author Share Posted August 16, 2012 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.