BumpFeatHLSL
Engine/source/shaderGen/HLSL/bumpHLSL.h
The Bumpmap feature will read the normal map and transform it by the inverse of the worldToTanget matrix.
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)
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
The Bumpmap feature will read the normal map and transform it by the inverse of the worldToTanget matrix.
This normal is then used by subsequent shader features.
Public Functions
getBlendOp()
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL
getName()
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL
getResources(const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL
processPix(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL
processVert(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL
setTexData(Material::StageData & stageDat, const MaterialFeatureData & fd, RenderPassData & passData, U32 & texIndex)
Reimplemented from: ShaderFeature
Reimplemented by: DeferredBumpFeatHLSL