Photoreal Glare Documentation

Installation

Prerequisites

Windows

For AMD GPU (Experimental) install ROCM.

For NVIDIA GPU install CUDA.

Linux

Installation may vary depending on distribution and package manager.

For AMD GPU (Experimental) install ROCM.

For NVIDIA GPU install CUDA.

MacOS

No GPU support, so no prerequisites.

Addon

  1. Open Blender and go to Preferences > Add-ons
  2. Click “Install...”
  3. Select the downloaded add-on .zip file
  4. Check the box to enable the add-on
  5. Click the “Install dependencies” button to install the libraries needed for the add-on to run

How To Use

Demo image modified from Nishita Sky Demo under CC0 by Blender Studio

Warning: first GPU run may be very slow.

The addon is located in the “Image Editor” window. Select the image you want to apply the glare to (the image must be saved), and the easiest way to get started is to click “Render and Apply Glare Preview” This will generate a low quality preview of glare applied to the currently selected image in the image editor. The preview is useful for checking the general size and shape of the glare, though colors and details may be inaccurate, especially for small objects.

If satisfied with how the glare looks, click “Render and Apply Glare” to generate and apply high quality glare. The following is some more detailed steps on how to configure the glare.

Tip: Try generating glare, and applying it separately. Generating the glare may not be possible on the GPU due to VRAM requirements, so generate it on the CPU, and apply it on the GPU.

It is recommended to work with images, with a view transform applied, such as Filmic. So if importing images in formats such as OpenEXR do the following:

  1. In the Image Editor, open the EXR file.
  2. In the Properties panel, set the View as Render option to display the image with the same view transform as when rendering.
You can also save the image with the color transform applied, while viewing the image go to “Image” > “Save As”, and make sure to check “Save As Render”.

Glare Settings

Features settings for the glare, with the most notable ones being aperture type, camera settings, and low step preview.

  • Obstruction image: used to add imperfections to aperture, like dirt and eyelashes. For example, using a hexagonal aperture:

    Apply Glare Settings

    Applies the glare image to the current image in the editor. Currently single-threaded, to save memory.

    How to Report Issues

    To help identify and solve an issue the following information is necessary: