Added support for basic texturing.