The variety, the soil, the water, and other things do affect the flavor, but it requires a certain amount of light, from the sun or other wise, along with a certain amount of heat, tophysically grow the tomato, and until you can get it ripe, you do not have any place to put the flavor