using texture for player