Jump to content

Compositing Over Operation in VOP


Recommended Posts

Hello everyone. I'm truing to replicate composting operation Over which I believe A+B(1-a). Instead I and up multiplying each layer by opposite alpha. It is work fine with constant colors, but it doesn't work with a texture. It turn texture (A) in opposite color. What wrong with that and what I missed?




Link to comment
Share on other sites

anim, Composting node give unpredictable result for me. I cannot understand what it actually doing. 


magneto, I tried your suggestion but it didn't solve the problem. The texture A in this example is grey-scale and B constant red.





Edit: Composite node basically create the same result.

Edited by kiko
Link to comment
Share on other sites

first of all make sure your a is 0-1 so clamp it before plugging in as noise can easily produce values outside of that range

then magneto's advise should work


or easier, for your case you can just use Mix VOP as you are literally mixing 2 colors with a mask (still clamp it though)


Composite VOP expects premultiplied color, so if you multiply your red color with clamped noise and plug into A then clamped noise into Aa and your texture into B it will work


but just use Mix VOP for this

Edited by anim
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.

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...