A novel technique is introduced that dramatically increases the quality and spatial resolution of directly ablated periodic nanostructures on materials. The presented method utilizes a PMMA confinement layer spin coated on the surface of the ablated material reducing the violence and speed of expansion of the molten material. As a result, droplet formation deteriorating the achievable resolution can be completely avoided. Moreover, motion control of the molten material leads to structural details with dimensions well below the irradiation wavelength.