Artefacts with paint data transparency and layers

Nomad 1.40 is live.

So I fixed a bunch of things.

As for precision I went for a hybrid approach, I’m still writing 8-bit colors in glb files.
However for runtime painting, I’m using 10-bit colors instead of 8-bit, the memory overhead is reasonable.
It’s possible to loose a bit of quality when saving the file though, but the benefit of 10 bits is still there when using smooth, smudge or low paint intensity.

Metalness/Roughnes/Mask are still 8-bit though.