Now the rendering parses the scene graph and draw each "mesh" nodes.
Instead of drawing, we should push them to a draw list, and sort the transparent materials out, draw all the opaque/alpha masked meshes, then draw the transparent one in depth order.
Now the rendering parses the scene graph and draw each "mesh" nodes.
Instead of drawing, we should push them to a draw list, and sort the transparent materials out, draw all the opaque/alpha masked meshes, then draw the transparent one in depth order.