The Planetary Instrument for X-ray Lithochemistry (PIXL) is a micro-focus x-ray fluorescence spectrometer designed for use by the Mars 2020 rover. X-ray fluorescence is the emission of secondary, or fluorescent, x-rays from a material that has been excited via bombardment of high energy x-ray or gamma radiation. The secondary x-rays emitted by the material have spectral lines characteristic of the elements in the sample. PIXL looks for elemental and spatial signatures of past life. Moreover, its spectroscopic data collection is often affected by target surface tilt. Attenuation of the x-ray beam, i.e. a decrease in beam intensity, increases if the target is tilted away from the detector, and decreases if the target is tilted toward the detector. Attenuation is caused by absorption or deflection of photons from the x-ray beam, and decreases the accuracy of relative chemical abundance measurements. PIXL is programmed to account for these effects, and produce quantitative results identical to those of non-tilted surfaces, however, the accuracy to which it does this is unknown. We tested the model on two standard materials, of known composition, and compared those data to real spectra taken by the instrument at various tilt angles. The results were somewhat inconclusive, as errors were large in elements with relatively low chemical abundance and low signal-to-noise. The code will now need to be refined, and the experiments run again, changing the model until it has reached a desired level of accuracy.