My understanding is that, you place the plant in pure darkness for the last 2-7 days before harvest. The plant thinks its going to die, so it pushes out as many trichomes as it can to try and catch some loose male pollen.
Not sure what light would do though = 0