Laser based-powder bed fusion (LB-PBF) enables fast, efficient, and cost-effective production of high-performing products. While advanced functionalities are often derived from geometric complexity, the capability to tailor material properties also offers significant opportunities for technical innovation across many fields. This study explores the optimization of the LB-PBF process parameters for producing Ti6Al4V titanium alloy parts with controlled porosity. To this end, cuboid and lamellar samples were fabricated by systematically varying laser power, hatch distance, and layer thickness according to a full factorial Design of Experiments, and the resulting specimens were thoroughly characterized by analyzing envelope porosity, surface roughness and waviness, surface morphology, and surface area. A selection of specimens was further examined using small-angle X-ray scattering (SAXS) and wide-angle X-ray scattering (WAXS) to investigate the atomic structure and nanometric porosity of the material. The results demonstrated the possibility to finely control the porosity and surface characteristics of Ti6Al4V within specific LB-PBF process ranges. The pores were found to be mostly closed even for thin walls, while the surface roughness was recognized as the primary factor impacting the surface area. The lamellar samples obtained by exposing single scan tracks showed nearly an order-of-magnitude increase in both surface area and pore volume, thereby laying the groundwork for the production of parts with optimized porosity.