mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
set GFXTextureManager::_validateTexParams to respect sen mipcaps
also kill console spam
This commit is contained in:
parent
3cdbd4e87e
commit
022f8d1732
3 changed files with 13 additions and 6 deletions
|
|
@ -849,9 +849,7 @@ void PostEffect::_setupConstants( const SceneRenderState *state )
|
|||
|
||||
if (mMipCountSC[i]->isValid())
|
||||
{
|
||||
S32 mipLevels = (S32)mActiveTextures[i]->getMipLevels();
|
||||
mShaderConsts->set(mMipCountSC[i], mipLevels);
|
||||
if (mipLevels == 5) Con::errorf("PostEffect::_setupConstants - mipLevels == 5 found!");
|
||||
mShaderConsts->set(mMipCountSC[i], (S32)mActiveTextures[i]->getMipLevels());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue