Renders reflection probes and stores filtered mipmap chains into an atlas texture as well as computing sky irradiance Rendering sky irradiance is optional and only done if m_iIrradianceOutputIndex != -1.
More...
#include <ReflectionProbeUpdater.h>
|
struct | TargetSlot |
| Defines the target specular reflection probe atlas and index as well as the sky irradiance atlas and index in case the rendered cube map is a sky light. More...
|
|
Renders reflection probes and stores filtered mipmap chains into an atlas texture as well as computing sky irradiance Rendering sky irradiance is optional and only done if m_iIrradianceOutputIndex != -1.
◆ GetFreeUpdateSlots()
Returns how many new probes can be started this frame.
- Parameters
-
out_updatesFinished | Contains the probes that finished last frame. |
- Returns
- The number of new probes can be started this frame.
◆ StartDynamicUpdate()
Starts rendering a new reflection probe.
- Parameters
-
probe | The world and probe index to be rendered. Used as an identifier. |
desc | Probe render settings. |
globalTransform | World position to be rendered. |
target | Where the probe should be rendered into. |
- Returns
- Returns PL_FAILURE if no more free slots are available.
◆ StartFilterUpdate()
Starts filtering an existing cube map into a new reflection probe.
- Parameters
-
probe | The world and probe index to be rendered. Used as an identifier. |
desc | Probe render settings. |
sourceTexture | Cube map that should be filtered into a reflection probe. |
target | Where the probe should be rendered into. |
- Returns
- Returns PL_FAILURE if no more free slots are available.
The documentation for this class was generated from the following files:
- Code/Engine/RendererCore/Lights/Implementation/ReflectionProbeUpdater.h
- Code/Engine/RendererCore/Lights/Implementation/ReflectionProbeUpdater.cpp