Upload acceleration structures for the level mesh
This commit is contained in:
parent
bf1732904f
commit
97073410c4
12 changed files with 802 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ sector_t* RenderViewpoint(FRenderViewpoint& mainvp, AActor* camera, IntRect* bou
|
|||
screen->mShadowMap.SetCollectLights(nullptr);
|
||||
}
|
||||
|
||||
screen->SetLevelMesh(camera->Level->levelMesh);
|
||||
|
||||
// Update the attenuation flag of all light defaults for each viewpoint.
|
||||
// This function will only do something if the setting differs.
|
||||
FLightDefaults::SetAttenuationForLevel(!!(camera->Level->flags3 & LEVEL3_ATTENUATE));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue