Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RGBA c1, c2
- RGB c3 = rgba_to_rgb(c1)
- RGB c4 = rgba_to_rgb(c2)
- RGB r = c3 + c4
- RGBA r1 = rgb_to_rgba(r) // I don't know how to implement this function
- Color r = 1.f/4 * (c1+c2+c3+c4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement