T5 and T6 set lmapLookupStart to 0.

This commit is contained in:
njohnson authored and Jan Laupetin committed 2026-05-16 09:54:24 +02:00
1 parent 7d3791a404
commit 773fee4a03
2 files changed
+2 -2

No files matched your search

@@ -57,7 +57,7 @@ namespace
lightDef->attenuation.samplerState = samplerState; lightDef->attenuation.samplerState = samplerState;
lightDef->attenuation.image = imageDependency->Asset(); lightDef->attenuation.image = imageDependency->Asset();
lightDef->lmapLookupStart = static_cast<int>(static_cast<uint8_t>(lmapLookupStart)); lightDef->lmapLookupStart = 0;
return AssetCreationResult::Success(context.AddAsset(std::move(registration))); return AssetCreationResult::Success(context.AddAsset(std::move(registration)));
} }
@@ -57,7 +57,7 @@ namespace
lightDef->attenuation.samplerState = samplerState; lightDef->attenuation.samplerState = samplerState;
lightDef->attenuation.image = imageDependency->Asset(); lightDef->attenuation.image = imageDependency->Asset();
lightDef->lmapLookupStart = static_cast<int>(static_cast<uint8_t>(lmapLookupStart)); lightDef->lmapLookupStart = 0;
return AssetCreationResult::Success(context.AddAsset(std::move(registration))); return AssetCreationResult::Success(context.AddAsset(std::move(registration)));
} }