iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::IblProbe Class Reference

Image-based lighting probe. More...

#include <imstkIBLProbe.h>

Public Member Functions

 IblProbe (std::string irradianceCubemapPath, std::string radianceCubemapPath, std::string brdfLUTPath)
 
std::shared_ptr< TexturegetIrradianceCubemapTexture ()
 TODO.
 
std::shared_ptr< TexturegetRadianceCubemapTexture ()
 TODO.
 
std::shared_ptr< TexturegetBrdfLUTTexture ()
 TODO.
 

Protected Attributes

std::string m_irradianceCubemapPath
 
std::string m_radianceCubemapPath
 
std::string m_brdfLUTPath
 
std::shared_ptr< Texturem_irradianceCubemapTexture = nullptr
 
std::shared_ptr< Texturem_radianceCubemapTexture = nullptr
 
std::shared_ptr< Texturem_brdfLUTTexture = nullptr
 

Detailed Description

Image-based lighting probe.

Image-based lighting (Ibl) probes are used to provide global illumination using special cubemaps. The cubemaps are prefiltered and evaluated using a lookup table (LUT) texture. The cubemaps should be preintegrated using split-sum approximation.

Definition at line 26 of file imstkIBLProbe.h.

Constructor & Destructor Documentation

◆ IblProbe()

imstk::IblProbe::IblProbe ( std::string  irradianceCubemapPath,
std::string  radianceCubemapPath,
std::string  brdfLUTPath 
)

Constructor

Parameters
irradianceCubemapPathpath to .dds irradiance (diffuse) cubemap
radianceCubemapPathpath to .dds radiance (specular) cubemap
brdfLUTPathpath to BRDF LUT (shouldn't be .dds)

Definition at line 12 of file imstkIBLProbe.cpp.


The documentation for this class was generated from the following files: