add Texturing for Direct3D rendering