I’m having problems drawing with CCDrawNode when color is not opaque. When color alpha is less than 1, the rendered primitive is drawn with a gray color instead of indicated color. For example:
CCDrawNode * draw = CCDrawNode::create();
…
Color4F color(1,0,0,0.5f);
draw->drawLine(Vec2(0,0),Vec2(100,100),color); // draws a GRAY line with correct alpha (wrong)
…
Color4F color(1,0,0,1);
draw->drawLine(Vec2(0,0),Vec2(100,200),color); // draws a RED opaque line (correct)
Drawing a circle has same results.
Drawing a solid circle with transparent color has correct results.
What am I doing wrong?
Using v3.4 on iOS platform
