mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3
This commit is contained in:
commit
9ff4c84bc8
8 changed files with 321 additions and 44 deletions
|
|
@ -1332,7 +1332,7 @@ void ProcessedShaderMaterial::setSceneInfo(SceneRenderState * state, const Scene
|
|||
if (sgData.cubemap)
|
||||
shaderConsts->setSafe(handles->mCubeMipsSC, (F32)sgData.cubemap->getMipMapLevels());
|
||||
else
|
||||
shaderConsts->setSafe(handles->mCubeMipsSC, 1.0f);
|
||||
shaderConsts->setSafe(handles->mCubeMipsSC, (F32)getBinLog2(PROBEMGR->getProbeTexSize()));
|
||||
|
||||
shaderConsts->setSafe(handles->mVisiblitySC, sgData.visibility);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue