Move lightmap atlas textures and light probes to the bindless textures array as its impossible to predict up front how many we need
This commit is contained in:
parent
8d1a2c39f4
commit
af6ec929cc
19 changed files with 317 additions and 249 deletions
|
|
@ -458,6 +458,8 @@ void VkRenderState::ApplySurfaceUniforms()
|
|||
mSurfaceUniforms.uColormapIndex = 0;
|
||||
}
|
||||
|
||||
mSurfaceUniforms.uLightProbeIndex = fb->GetDescriptorSetManager()->GetLightProbeTextureIndex(mLightProbeIndex);
|
||||
|
||||
if (mMaterial.mChanged)
|
||||
{
|
||||
if (mMaterial.mMaterial)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue