dplug.gui.legacypbr

Original fixed-function PBR rendering in Dplug. For compatibility purpose.

Members

Classes

PBRCompositor
class PBRCompositor

Originally, Dplug compositor was fixed function. This is the legacy compositor.

PassAmbientOcclusion
class PassAmbientOcclusion

Give light depending on whether the pixels are statistically above their neighbours.

PassClampAndConvertTo8bit
class PassClampAndConvertTo8bit
Undocumented in source.
PassComputeNormal
class PassComputeNormal
Undocumented in source.
PassDirectionalLight
class PassDirectionalLight
Undocumented in source.
PassEmissiveContribution
class PassEmissiveContribution
Undocumented in source.
PassObliqueShadowLight
class PassObliqueShadowLight
Undocumented in source.
PassSkyboxReflections
class PassSkyboxReflections
Undocumented in source.
PassSpecularLight
class PassSpecularLight
Undocumented in source.

Structs

PBRCompositorPassBuffers
struct PBRCompositorPassBuffers

When inheriging from MultipassCompositor, you can define what the passes exchange between each other. However, the first field has to be a CompositorPassBuffers.

Variables

FACTOR_Z
enum float FACTOR_Z;

Equivalence factor between Z samples and pixels. Tuned once by hand to match the other normal computation algorithm This affects virtual geometry, and as such: normals and raymarching into depth. Future: this should be modifiable in order to have more Z range in plugins (more 3D). Bug: resizing should affect this factor.

Meta