Closed
Description
While rendering of tiles I'm observing graphical artifacts:
I use tiles 32x32 pix and place them one by one as Sprite instances in same layer in the same z-order.
UPD:
- MacOS M1
- axmol 2.1.0-rc7
Steps to reproduce:
- Copy image attached to content folder (or use any image with alpha transparency, but on first example above I used image without alpha channel)
2.. add following code into scene::init
for(int j = 0; j < 20; ++j)
{
for(int i = 0; i < 20; ++i)
{
auto * s = ax::Sprite::create("grid_color.png", ax::Rect(192, 0, 32, 32));
s->setPosition(i * 32, j * 32);
addChild(s);
}
}
Expected result: seamless colored rectangle
Actual results: grid appeared