In SpriteKit, how is the default blending mode (SKBlendModeAlpha) calculated? Can you please verify that it works on my example points below? All nodes below use the default SKBlendModeAlpha.
My scene has a white background and two identical child nodes of uniform color that partially intersect each other. The true RGB of each node is (16, 195, 117) and alpha = 0.4.
When I look at the blended color of the node sitting on the white background, the color is (158, 221, 190). (This was confirmed by doing a screen capture and checking in gimp).
How was this calculated by SpriteKit?
When I look at the blended color of the intersected area of two nodes on the white background, the RGB is (112, 203, 153).
How was this calculated by SpriteKit?
Thanks!