Explicit expressions for the Marshak boundary conditions and vacuum gap conditions are developed through the P5 approximation. A blackness theory is developed for the accurate treatment of regions with high absorption of heavy elements. The relevant coefficients are expressed in terms of solutions of one velocity problems for which boundary conditions are given.