DeferredRTLightingFeatGLSL
Engine/source/lighting/advanced/glsl/advancedLightingFeaturesGLSL.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 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