- moved the last remaining function from gl_shadowmap.cpp elsewhere so that the file can be deleted.
This commit is contained in:
parent
54f46fdfee
commit
e6efee61b1
7 changed files with 61 additions and 98 deletions
|
|
@ -162,13 +162,24 @@ bool IShadowMap::ValidateAABBTree()
|
|||
return false;
|
||||
}
|
||||
|
||||
void IShadowMap::PerformUpdate()
|
||||
bool IShadowMap::PerformUpdate()
|
||||
{
|
||||
UploadAABBTree();
|
||||
UploadLights();
|
||||
mLightList->BindBase();
|
||||
mNodesBuffer->BindBase();
|
||||
mLinesBuffer->BindBase();
|
||||
UpdateCycles.Reset();
|
||||
|
||||
LightsProcessed = 0;
|
||||
LightsShadowmapped = 0;
|
||||
|
||||
if (IsEnabled())
|
||||
{
|
||||
UpdateCycles.Clock();
|
||||
UploadAABBTree();
|
||||
UploadLights();
|
||||
mLightList->BindBase();
|
||||
mNodesBuffer->BindBase();
|
||||
mLinesBuffer->BindBase();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void IShadowMap::UploadLights()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue