the process called deposition and an exmaple is given here
CO2 gas can be made directly into dry ice.
water vapor in very cold air can turn directly to snow on a window.
Iodine vapors will become needle crystals of black iodine solid
moth balls also sublime, naphthalene