Rename "depth fade falloff" to "depth fade threshold" as it makes more sense
This commit is contained in:
parent
6c57283b25
commit
27058efe85
13 changed files with 19 additions and 19 deletions
|
|
@ -193,7 +193,7 @@ public:
|
|||
mSurfaceUniforms.uLightFactor = 0.0f;
|
||||
mSurfaceUniforms.uFogDensity = 0.0f;
|
||||
mSurfaceUniforms.uLightLevel = -1.0f;
|
||||
mSurfaceUniforms.uDepthFadeFalloff = 0.0f;
|
||||
mSurfaceUniforms.uDepthFadeThreshold = 0.0f;
|
||||
mSpecialEffect = EFF_NONE;
|
||||
mLightIndex = -1;
|
||||
mBoneIndexBase = -1;
|
||||
|
|
@ -264,9 +264,9 @@ public:
|
|||
mSurfaceUniforms.uDesaturationFactor = 0.0f;
|
||||
}
|
||||
|
||||
void SetDepthFadeFalloff(float falloff)
|
||||
void SetDepthFadeThreshold(float falloff)
|
||||
{
|
||||
mSurfaceUniforms.uDepthFadeFalloff = falloff;
|
||||
mSurfaceUniforms.uDepthFadeThreshold = falloff;
|
||||
}
|
||||
|
||||
void SetTextureClamp(bool on)
|
||||
|
|
|
|||
|
|
@ -44,6 +44,6 @@ struct SurfaceUniforms
|
|||
|
||||
float uAlphaThreshold;
|
||||
int uTextureIndex;
|
||||
float uDepthFadeFalloff;
|
||||
float uDepthFadeThreshold;
|
||||
float padding3;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue