The Flare sample shows how to create a lens flare effect using alpha blending.
Source: (SDK root)\Samples\Multimedia\D3dim\Src\Flare
Executable: (SDK root)\Samples\Multimedia\D3dim\Bin
Press F1 to see available commands.
In this sample, lens flare is simulated with mathematical functions which govern the position of each flare. The flares are rendered using additive alpha blending, and animated to give a sparkle effect.