Torque3D Documentation / _generateds / DeferredRTLightingFeatHLSL

DeferredRTLightingFeatHLSL

Engine/source/lighting/advanced/hlsl/advancedLightingFeaturesHLSL.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 RTLightingFeatHLSL Parent 

Protected Attributes

U32 mLastTexIndex 

Public Functions

getBlendOp()

Reimplemented from: RTLightingFeatHLSL

getName()

Reimplemented from: RTLightingFeatHLSL

getResources(const MaterialFeatureData & fd)

Reimplemented from: RTLightingFeatHLSL

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

Reimplemented from: RTLightingFeatHLSL

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

Reimplemented from: ShaderFeature

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

Reimplemented from: RTLightingFeatHLSL

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

Reimplemented from: ShaderFeature