Factorize transparent mesh rendering.