Torque3D Documentation / _generateds / DeferredRTLightingFeatGLSL

DeferredRTLightingFeatGLSL

Engine/source/lighting/advanced/glsl/advancedLightingFeaturesGLSL.h

Lights the pixel by sampling from the light deferred buffer.

More...

Private Types

Protected Attributes

Public Functions

Identifies what type of blending a feature uses.

Returns the name of this feature.

Returns the resource requirements of this feature based on what other features are present.

Allows the feature to add macros to pixel shader compiles.

setTexData(Material::StageData & stageDat, const MaterialFeatureData & fd, RenderPassData & passData, U32 & texIndex)

Fills texture related info in RenderPassData for this feature.

Detailed Description

Lights the pixel by sampling from the light deferred buffer.

It will fall back to forward lighting functionality for non-deferred rendered surfaces.

Also note that this feature is only used in the forward rendering pass. It is not used during the deferred step.

Private Types

typedef RTLightingFeatGLSL Parent 

Protected Attributes

U32 mLastTexIndex 

Public Functions

getBlendOp()

Reimplemented from: RTLightingFeatGLSL

getName()

Reimplemented from: RTLightingFeatGLSL

getResources(const MaterialFeatureData & fd)

Reimplemented from: RTLightingFeatGLSL

processPix(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)

Reimplemented from: RTLightingFeatGLSL

processPixMacros(Vector< GFXShaderMacro > & macros, const MaterialFeatureData & fd)

Reimplemented from: ShaderFeature

processVert(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)

Reimplemented from: RTLightingFeatGLSL

setTexData(Material::StageData & stageDat, const MaterialFeatureData & fd, RenderPassData & passData, U32 & texIndex)

Reimplemented from: ShaderFeature