Grab the light list from the surfaces in the shader
This commit is contained in:
parent
68f9fee55b
commit
ccc5c259ad
6 changed files with 24 additions and 16 deletions
|
|
@ -595,6 +595,8 @@ void VkLevelMeshUploader::UploadSurfaces()
|
|||
{
|
||||
info.TextureIndex = 0;
|
||||
}
|
||||
info.LightStart = surface->LightList.Pos;
|
||||
info.LightEnd = surface->LightList.Pos + surface->LightList.Count;
|
||||
|
||||
*(surfaces++) = info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue