DeferredRTLightingFeatHLSL
Engine/source/lighting/advanced/hlsl/advancedLightingFeaturesHLSL.h
Lights the pixel by sampling from the light deferred buffer.
Private Types
Parent
Protected Attributes
Public Functions
Identifies what type of blending a feature uses.
Returns the resource requirements of this feature based on what other features are present.
processPix(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
processPixMacros(Vector< GFXShaderMacro > & macros, const MaterialFeatureData & fd)
Allows the feature to add macros to pixel shader compiles.
processVert(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
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