BumpFeatGLSL

Engine/source/shaderGen/GLSL/bumpGLSL.h

The Bumpmap feature will read the normal map and transform it by the inverse of the worldToTanget matrix.

More...

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.

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: DeferredBumpFeatGLSL

getName()

Reimplemented from: ShaderFeature

Reimplemented by: DeferredBumpFeatGLSL

getResources(const MaterialFeatureData & fd)

Reimplemented from: ShaderFeature

Reimplemented by: DeferredBumpFeatGLSL

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

Reimplemented from: ShaderFeature

Reimplemented by: DeferredBumpFeatGLSL

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

Reimplemented from: ShaderFeature

Reimplemented by: DeferredBumpFeatGLSL

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

Reimplemented from: ShaderFeature

Reimplemented by: DeferredBumpFeatGLSL