Comptroller Susan Combs says the timing of green lights means better traffic flow.
The money will also be used to install light emitting diodes, or LEDs, in traffic signals for a different wattage to cut down on electric usage.
Communities sharing the funds are Bedford, Fort Worth, Grand Prairie, Allen, Bryan, North Richland Hills, Cedar Hill, Grapevine, Killeen, Beaumont, Missouri City, Frisco, Brownsville, Cedar Park and Waco, plus Montgomery County.