Photosynthesis is affected by... because
Light, because higher the light intensity, the higher the rate of photosynthesis.
The same applies to carbon dioxide concentration an and water.
When the temperature exceeds the leafs' limit, the stomata close themselves due to too much water loss in the form of water vapour.