Sector portals sunlight only
This commit is contained in:
parent
963161cce1
commit
036debfac6
5 changed files with 69 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ void VkRaytrace::CreateBuffers()
|
|||
|
||||
SurfaceInfo info;
|
||||
info.Normal = surface->plane.XYZ();
|
||||
info.PortalIndex = 0;
|
||||
info.PortalIndex = surface->portalIndex;
|
||||
info.SamplingDistance = (float)surface->sampleDimension;
|
||||
info.Sky = surface->bSky;
|
||||
surfaceInfo.Push(info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue