Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::PBRViewerSettings Struct Reference

Public Types

enum class  ToneMapping {
  NONE , BASIC , ACES_HILL , ACES_HILL_EXPOSURE_BOOST ,
  ACES_NARKOWICZ , KHRONOS_PBR_NEUTRAL , COUNT
}
 

Public Attributes

float exposure = 1.0f
 The exposure value to use in PBR mode.
 
bool imageBasedLighting = false
 Option that tells whether to use image based lighting (IBL) or not.
 
bool pbrMode = false
 Option that tells whether the viewer be set in PBR mode or not.
 
bool renderBackgroundPanorama = false
 Option that tells whether to render the background panorama or not.
 
ToneMapping toneMapping = ToneMapping::ACES_HILL
 The tone mapping operator to use in PBR mode.
 

Static Public Attributes

static constexpr const charTONE_MAPPING_STRINGS [toUnderlying(ToneMapping::COUNT)]
 

Member Data Documentation

◆ imageBasedLighting

bool vcl::PBRViewerSettings::imageBasedLighting = false

Option that tells whether to use image based lighting (IBL) or not.

Note
this option is ignored if no panorama (environment map) is set.

◆ pbrMode

bool vcl::PBRViewerSettings::pbrMode = false

Option that tells whether the viewer be set in PBR mode or not.

All the options below are used only if this flag is set to true.

◆ TONE_MAPPING_STRINGS

constexpr const char* vcl::PBRViewerSettings::TONE_MAPPING_STRINGS[toUnderlying(ToneMapping::COUNT)]
staticconstexpr
Initial value:
= {
"None",
"Basic",
"ACES Hill",
"ACES Hill Exposure Boost",
"ACES Narkowicz",
"Khronos PBR Neutral"}

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