Fixed so textures can be rendered to objects. Added test texture.