How to set automatic white balance in the VFB?

In Corona Renderer 1.7 and newer it is possible to use the Corona Color Picker to set automatic white balance for your image directly in the VFB:

1. Click on the "Color tint" swatch in the VFB - the Corona Color Picker should pop up

2. Click on the "Pick inverse" button (icon on the bottom of the color selector window, next to the regular "pick color" button)

3. Left-click on any pixel in the rendered image - it will be considered neutral gray

4. The color tint will be adjusted automatically and applied to your image

Note: it is also possible to set the white balance based on more pixels than just a single one. To do it, select the desired option from the "Point Sample" dropdown list next to the color picker buttons.