Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Blend Mode - InvertColor

$
0
0

@pxt wrote:

Hello!
Im trying to get with a blend that invert the colors of two shapes. For ex: a black circle overlaps a black circle = a white circle.
What do you think i can do?

Probably in a shader iwould do something like:

vec3(1.0)-(color1.xyz+color2.xyz)

but i want to do that kind of blend with two circles (or multiples but in one single texture)

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles