LightsprintSDK 2021.08.08
|
#include <PluginSSGI.h>
Public Member Functions | |
PluginParamsSSGI (const PluginParams *_next, float _intensity, float _radius, float _angleBias) | |
virtual PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const |
virtual class PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const =0 |
Public Attributes | |
float | intensity |
float | radius |
float | angleBias |
Public Attributes inherited from rr_gl::PluginParams | |
const PluginParams * | next |
Adds screen space global illumination effect on top of scene render (next plugin).
SSGI simulates single short distance light bounce, with color bleeding.
It can be used with Fireball or Architect realtime GI solvers to improve realtime GI quality (GI solvers contribute low frequency GI, SSGI adds high frequencies).
It can be used with constant ambient to add at least some GI effects to non-GI render.
It is a realtime alternative to baked LDM.
|
inline |
Convenience ctor, for setting plugin parameters.
|
virtual |
Access to actual plugin code, called by Renderer.
Implements rr_gl::PluginParams.
float rr_gl::PluginParamsSSGI::intensity |
Intensity of SSGI effect, 1 for default.
float rr_gl::PluginParamsSSGI::radius |
Radius (in meters) of SSGI effect.
float rr_gl::PluginParamsSSGI::angleBias |
With angleBias 0, SSGI makes all edges visible. Increase to make only sharper edges visible. 0.1 is reasonable default.