|
iMSTK
Interactive Medical Simulation Toolkit
|
Image-based lighting probe. More...
#include <imstkIBLProbe.h>
Public Member Functions | |
| IblProbe (std::string irradianceCubemapPath, std::string radianceCubemapPath, std::string brdfLUTPath) | |
| std::shared_ptr< Texture > | getIrradianceCubemapTexture () |
| TODO. | |
| std::shared_ptr< Texture > | getRadianceCubemapTexture () |
| TODO. | |
| std::shared_ptr< Texture > | getBrdfLUTTexture () |
| TODO. | |
Protected Attributes | |
| std::string | m_irradianceCubemapPath |
| std::string | m_radianceCubemapPath |
| std::string | m_brdfLUTPath |
| std::shared_ptr< Texture > | m_irradianceCubemapTexture = nullptr |
| std::shared_ptr< Texture > | m_radianceCubemapTexture = nullptr |
| std::shared_ptr< Texture > | m_brdfLUTTexture = nullptr |
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.
| imstk::IblProbe::IblProbe | ( | std::string | irradianceCubemapPath, |
| std::string | radianceCubemapPath, | ||
| std::string | brdfLUTPath | ||
| ) |
Constructor
| irradianceCubemapPath | path to .dds irradiance (diffuse) cubemap |
| radianceCubemapPath | path to .dds radiance (specular) cubemap |
| brdfLUTPath | path to BRDF LUT (shouldn't be .dds) |
Definition at line 12 of file imstkIBLProbe.cpp.
1.8.13