0rr Posted October 7, 2014 Share Posted October 7, 2014 Hi Everyone, My knowledge of shaders in Houdini is limited so forgive me if this is something trivial. Say I have two occluding, coloured primitives with opacity set to 1. When I render these primitives, in the 2d area where the primitives occlude each other, the colours will be additively combined. Is there a way to change this blending to an average or to a multiply operation in a shader? Thanks Quote Link to comment Share on other sites More sharing options...
danylyon Posted November 12, 2014 Share Posted November 12, 2014 Usually the opacity blending happens in Mantra, not on the shader, so I don't think you can change it directly. You can make a workaround though. Simply do your own refraction and combine them as you wish. Start with a raytrace vop (http://localhost:48626/nodes/vop/raytrace) and shoot a ray in the direction of the view. Get the color and combine as you wish. You will want to turn any opactiy off. Really love your works (on flickr) keep it up! Cheers Dany 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.