I tried all sort to get this looking the same and I am out of ideas. Any tip on why this might happen.
The issue is the red bit, on the desktop, left hand side image, it is solid red and on the ipad it got some alpha applied to it.
The code base is on the large side and I would not be able to get a repeatable working example. It currently uses mesh for those rectanges.
https://www.sphericalgames.co.uk/images/renderingIssue.pngI wouldn't spend any time on this given I've changed the way it is stored in a sprite. If I get a chance I'll try and reproduce this and provide some example code. I've not touched this in 3 years and it did work back then but something changed since. It also flashes when filling shapes, I can live with that, that effect never happened before and doesn't happen on mac desktop version.
Comments
local mesh = Mesh.new()
mesh:setAlpha(0.5) << Remove this and it is solved.
Initialise mesh...
mesh:setVertex(...
mesh:setIndex(...
mesh:setColor(...
Somewhere later on….
If (some flag setting….)
mesh:setAlpha(1) <<< Does not work. Well it does on my Mac but not work on iOS devices
end
Something along the lines:
Likes: MoKaLux
Likes: John