1.3.64
 
Loading...
Searching...
No Matches
LensFlareProperties Struct Reference

Properties defining lens flare rendering parameters. More...

#include <RadiationModel.h>

Public Member Functions

bool operator== (const LensFlareProperties &rhs) const
 
bool operator!= (const LensFlareProperties &rhs) const
 

Data Fields

int aperture_blade_count = 6
 Number of aperture blades (affects starburst pattern). 6 blades produces 6-pointed star, 8 blades produces 8-pointed star, etc.
 
float coating_efficiency = 0.96f
 Anti-reflective coating efficiency (0.0-1.0). Higher values reduce ghost intensity. Typical modern coatings are 0.96-0.99.
 
float ghost_intensity = 1.0f
 Scale factor for ghost reflection intensity (0.0-1.0+). Default 1.0 uses physically-derived intensity.
 
float starburst_intensity = 1.0f
 Scale factor for starburst/diffraction pattern intensity (0.0-1.0+). Default 1.0 uses physically-derived intensity.
 
float intensity_threshold = 0.8f
 Minimum normalized pixel intensity (0.0-1.0) required to generate lens flare. Pixels below this threshold are ignored.
 
int ghost_count = 5
 Number of ghost reflections to render. More ghosts increase realism but also computation time.
 

Detailed Description

Properties defining lens flare rendering parameters.

Definition at line 113 of file RadiationModel.h.

Member Function Documentation

◆ operator!=()

bool LensFlareProperties::operator!= ( const LensFlareProperties rhs) const
inline

Definition at line 138 of file RadiationModel.h.

◆ operator==()

bool LensFlareProperties::operator== ( const LensFlareProperties rhs) const
inline

Definition at line 133 of file RadiationModel.h.

Field Documentation

◆ aperture_blade_count

int LensFlareProperties::aperture_blade_count = 6

Number of aperture blades (affects starburst pattern). 6 blades produces 6-pointed star, 8 blades produces 8-pointed star, etc.

Definition at line 116 of file RadiationModel.h.

◆ coating_efficiency

float LensFlareProperties::coating_efficiency = 0.96f

Anti-reflective coating efficiency (0.0-1.0). Higher values reduce ghost intensity. Typical modern coatings are 0.96-0.99.

Definition at line 119 of file RadiationModel.h.

◆ ghost_count

int LensFlareProperties::ghost_count = 5

Number of ghost reflections to render. More ghosts increase realism but also computation time.

Definition at line 131 of file RadiationModel.h.

◆ ghost_intensity

float LensFlareProperties::ghost_intensity = 1.0f

Scale factor for ghost reflection intensity (0.0-1.0+). Default 1.0 uses physically-derived intensity.

Definition at line 122 of file RadiationModel.h.

◆ intensity_threshold

float LensFlareProperties::intensity_threshold = 0.8f

Minimum normalized pixel intensity (0.0-1.0) required to generate lens flare. Pixels below this threshold are ignored.

Definition at line 128 of file RadiationModel.h.

◆ starburst_intensity

float LensFlareProperties::starburst_intensity = 1.0f

Scale factor for starburst/diffraction pattern intensity (0.0-1.0+). Default 1.0 uses physically-derived intensity.

Definition at line 125 of file RadiationModel.h.


The documentation for this struct was generated from the following file: