mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
remove shaderconst timer clamp
looks ike the postfx shaderconst update cycle rate limiter is the source of our flickering
This commit is contained in:
parent
a43458677a
commit
1e2b6c4e35
2 changed files with 0 additions and 4 deletions
|
|
@ -509,7 +509,6 @@ PostEffect::PostEffect()
|
|||
dMemset( mTexSizeSC, 0, sizeof( GFXShaderConstHandle* ) * NumTextures );
|
||||
dMemset( mRenderTargetParamsSC, 0, sizeof( GFXShaderConstHandle* ) * NumTextures );
|
||||
|
||||
mConstUpdateTimer = PlatformTimer::create();
|
||||
}
|
||||
|
||||
PostEffect::~PostEffect()
|
||||
|
|
@ -1112,9 +1111,7 @@ void PostEffect::_setupConstants( const SceneRenderState *state )
|
|||
}
|
||||
*/
|
||||
|
||||
if (mConstUpdateTimer->getElapsedMs() > TickMs)
|
||||
{
|
||||
mConstUpdateTimer->reset();
|
||||
{
|
||||
PROFILE_SCOPE(PostEffect_SetShaderConsts);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue