Soft matter is at the core of modern technology as well as of the living organisms. We  explore how self-organising nature of materials, such as liquid crystals, inorganic nanoparticles and photoactive films, can be manipulated by light or structured substrates. Experimental investigation, as well as new mathematical approaches to their understanding, offer some challenging fundamental questions that pave the way to innovative, adaptive optical components and technologies.