Dust and the transfer of stellar radiation within galaxies