I have recently discovered Cables and I’m loving it!
I’m having a hard time, however, understanding how the alpha\transparency works.
As an example, I have attempted to recreate a quick doodle I had made in Three: https://ermanno.xyz/portrait/
For reference, the model is composed of two meshes (the face and the outer part of the eyes) and a sphere (the eyeball), where the face meshhas the highest z position and the sphere the lowest.
In the patch I created ( https://cables.gl/p/5dd9c98677be7738f5cb4300?s=6c26o7hDDnItkcVS ) the sphere can be seen through the transparent parts of the face mesh, but not through those of the outer eye.
Attempting to add an Opacity Texture has no effect.
Additionally, the face texture seems to have jagged edges in the transparent part (the texture itself is not jagged - it’s the same used in the Three doodle). For reference, all meshes are power of two - this is not a resizing issue.
I know I must be doing something wrong, but I can’t figure out what D:
Any feedback would be truly appreciated