In a nanoscale photodetector that combines a unique fabrication method and light-trapping structures, a team of engineers has overcome obstacles to increasing performance in optoelectronic devices — like camera sensors or solar cells — without adding bulk.