ParallaxFeatGLSL
Engine/source/shaderGen/GLSL/bumpGLSL.h
This feature either generates the cheap yet effective offset mapping style parallax or the much more expensive occlusion mapping technique based on the enabled feature flags.
Protected Attributes
Protected Static Functions
Var *
_getUniformVar(const char * name, const char * type, ConstantSortPosition csp)
Public Functions
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
This feature either generates the cheap yet effective offset mapping style parallax or the much more expensive occlusion mapping technique based on the enabled feature flags.
Protected Attributes
ShaderIncludeDependency mIncludeDep
Protected Static Functions
_getUniformVar(const char * name, const char * type, ConstantSortPosition csp)
Public Functions
ParallaxFeatGLSL()
getName()
Reimplemented from: ShaderFeature
getResources(const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
processPix(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
processVert(Vector< ShaderComponent * > & componentList, const MaterialFeatureData & fd)
Reimplemented from: ShaderFeature
setTexData(Material::StageData & stageDat, const MaterialFeatureData & fd, RenderPassData & passData, U32 & texIndex)
Reimplemented from: ShaderFeature