Performing necessary texture shader setup.