_1. Exposure blend _
As the sun is in the frame, four exposures were taken while focused on the farthest point in the scene, which need to be combined first. You can do this in Lightroom before sending the images to Photoshop by clicking Photo>Photo Merge> HDR * or open directly in Photoshop and go to *File>Automate>Merge to HDR Pro. Add your exposures by clicking Browse and the OK.
_2 Flatten your files _
Once you’ve blended your HDR image, go to File>Save As and flatten the image from a PSD to a JPEG so it can become part of the focus stack. If you’ve done multiple HDR images, one for each frame that you want to later stack, you’ll need to save each HDR image as a JPEG file. Retain the PSD files in case you want to do adjustments to the blends in the future.
3. Align your layers
Go to File>Scripts> Load Files into Stack. Select your files and check Attempt to Automatically Align Layers and click OK. If the option to align isn’t available in your version, you'll need to align the layers by selecting each layer in the Layers palette while holding Shift key and choose Edit>Auto-Align Layers. Leave Auto selected and click OK. Now choose either Step 4 or 5.
_4. Automatic stacking _
To let Photoshop’s automatic blending do the work, go to Edit>Auto-Blend Layers and select Stack Images and click OK. We suggest you turn off Content Aware Fill Transparent Areas if you’ve shot the images correctly as you shouldn't need it. Once it’s complete you can apply any final crops, tonal, colour and sharpening tweaks to your image and save as a JPEG.
_5. Manual stacking _
For those who don’t like to leave anything to chance, you may prefer to manually blend your images. When you have all your images aligned in the Layers palette (as per Step 3), add Layer Masks to all the layers (Layer>Layer Mask>Hide All). Using the * Brush Tool* set to White, meticulously brush over the sharpest areas in the scene as you work your way back through the image.