An optical system made of transparent material for wavelengths included in a set of beams of light rays and for aligning said set of beams of light rays with respect to a main optical axis (O-O) from a light source comprising an emission axis and at least one emitting surface of light rays intended to be emitted in a space with a refractive index greater than or equal to one; said optical system comprising: - a first incident surface comprising a first proximal singular point located on the main optical axis (O-O); - a first emergent surface comprising a first distal singular point located on the main optical axis (O-O); the first incident surface and the first emergent surface are configured so as to define an intermediate focus zone located between the first incident surface and the first emergent surface; wherein the intermediate focus zone has a rotationally symmetrical shape, the first emergent surface having a toroidal cap shape and/or the first incident surface having a toroidal cap shape; such that the system comprises a set of three-dimensional texture comprising: - a first three-dimensional texture disposed on the first emergent surface so as to form a first textured surface; and - a second three-dimensional texture disposed on a second emergent surface so as to form a second textured surface, the second emergent surface being disposed laterally with respect to the first emergent surface. - a first incident surface comprising a first proximal singular point located on the main optical axis (O-O); - a first emergent surface comprising a first distal singular point located on the main optical axis (O-O); the first incident surface and the first emergent surface are configured so as to define an intermediate focus zone located between the first incident surface and the first emergent surface; wherein the intermediate focus zone has a rotationally symmetrical shape, the first emergent surface having a toroidal cap shape and/or the first incident surface having a toroidal cap shape; such that the system comprises a set of three-dimensional texture comprising: - a first three-dimensional texture disposed on the first emergent surface so as to form a first textured surface; and - a second three-dimensional texture disposed on a second emergent surface so as to form a second textured surface, the second emergent surface being disposed laterally with respect to the first emergent surface. the first incident surface and the first emergent surface are configured so as to define an intermediate focus zone located between the first incident surface and the first emergent surface; wherein the intermediate focus zone has a rotationally symmetrical shape, the first emergent surface having a toroidal cap shape and/or the first incident surface having a toroidal cap shape; such that the system comprises a set of three-dimensional texture comprising: - a first three-dimensional texture disposed on the first emergent surface so as to form a first textured surface; and - a second three-dimensional texture disposed on a second emergent surface so as to form a second textured surface, the second emergent surface being disposed laterally with respect to the first emergent surface. - a first three-dimensional texture disposed on the first emergent surface so as to form a first textured surface; and - a second three-dimensional texture disposed on a second emergent surface so as to form a second textured surface, the second emergent surface being disposed laterally with respect to the first emergent surface.