PBRCompositor

"Physically Based"-style rendering

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

compositeTile
void compositeTile(ImageRef!RGBA wfb, WindowPixelFormat pf, box2i area, Mipmap!RGBA diffuseMap, Mipmap!RGBA materialMap, Mipmap!L16 depthMap, Mipmap!RGBA skybox)

Don't like this rendering? Feel free to override this method.

setLiftGammaGainContrast
void setLiftGammaGainContrast(float lift, float gamma, float gain, float contrast)

Calling this setup color correction table, with the well known lift-gamma-gain formula.

setLiftGammaGainContrastRGB
void setLiftGammaGainContrastRGB(float rLift, float rGamma, float rGain, float rContrast, float gLift, float gGamma, float gGain, float gContrast, float bLift, float bGamma, float bGain, float bContrast)

Calling this setup color correction table, with the well known lift-gamma-gain formula + contrast addition, per channel.

setLiftGammaGainRGB
void setLiftGammaGainRGB(float rLift, float rGamma, float rGain, float gLift, float gGamma, float gGain, float bLift, float bGamma, float bGain)

Calling this setup color correction table, with the well known lift-gamma-gain formula, per channel.

Variables

ambientLight
float ambientLight;
Undocumented in source.
light1Color
vec3f light1Color;
Undocumented in source.
light2Color
vec3f light2Color;
Undocumented in source.
light2Dir
vec3f light2Dir;
Undocumented in source.
light3Color
vec3f light3Color;
Undocumented in source.
light3Dir
vec3f light3Dir;
Undocumented in source.
skyboxAmount
float skyboxAmount;
Undocumented in source.

Inherited Members

From ICompositor

compositeTile
void compositeTile(ImageRef!RGBA wfb, WindowPixelFormat pf, box2i area, Mipmap!RGBA diffuseMap, Mipmap!RGBA materialMap, Mipmap!L16 depthMap, Mipmap!RGBA skybox)
Undocumented in source.

Meta