Remove LightmapOrigin, LightmapStepX and LightmapStepY as we no longer use them
This commit is contained in:
parent
9e136a7e79
commit
e5a4e6c85a
6 changed files with 10 additions and 43 deletions
|
|
@ -200,9 +200,6 @@ void VkLightmap::RenderBakeImage()
|
|||
pc.TileY = (float)selectedSurface.Y;
|
||||
pc.SurfaceIndex = mesh->GetSurfaceIndex(targetSurface);
|
||||
pc.TextureSize = (float)bakeImageSize;
|
||||
pc.LightmapOrigin = targetSurface->worldOrigin - targetSurface->worldStepX - targetSurface->worldStepY;
|
||||
pc.LightmapStepX = targetSurface->worldStepX * viewport.width;
|
||||
pc.LightmapStepY = targetSurface->worldStepY * viewport.height;
|
||||
pc.TileWidth = (float)targetSurface->texWidth;
|
||||
pc.TileHeight = (float)targetSurface->texHeight;
|
||||
pc.WorldToLocal = targetSurface->translateWorldToLocal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue