Lens hood are widely used in backlight photography and are generally used to avoid glare. However, glare may occur if the light source is in close proximity. At this point, you can use your hand on the side of the light source to block the hood.
eBay