setBlendFunc(gl.ONE, gl.ONE)
whats weird?
This method used in Lua was different from used in C++.These two params are transformed into BlendFunc Struct in binding codes.
it’s seems that alpha does not have the correct ADDITIVE
i use this
local sp = cc.Sprite:create(“shizixiaochu.png”)
sp:setColor(ccc3(255,157,160))
sp:setBlendFunc(gl.ONE, gl.ONE)
sp:setPosition(400,400)
sceneGame:addChild(sp)
but the result is wird