refactor Jax.Material
fix cube map textures