Fix deactivated lightmap light not working
This commit is contained in:
parent
7f031ab2cc
commit
bfb37a89c3
7 changed files with 61 additions and 4 deletions
|
|
@ -227,7 +227,7 @@ public:
|
|||
// Lightmap tiles and their locations in the texture atlas
|
||||
struct
|
||||
{
|
||||
int TextureCount = 0;
|
||||
int TextureCount = 10; // To do: remove all the limits and instead resize GPU resources if they are exhausted. Too difficult to calculate it all up front.
|
||||
int TextureSize = 1024;
|
||||
TArray<uint16_t> TextureData;
|
||||
uint16_t SampleDistance = 8;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,14 @@ struct LightmapTileBinding
|
|||
}
|
||||
};
|
||||
|
||||
enum TileUpdatePolicy
|
||||
{
|
||||
MapChanges,
|
||||
AlwaysUltraQuality,
|
||||
Always,
|
||||
MapChangesUltraQuality
|
||||
};
|
||||
|
||||
struct LightmapTile
|
||||
{
|
||||
// Surface location in lightmap texture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue