mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-08 19:12:17 +00:00
Nothing
This commit is contained in:
@@ -876,13 +876,15 @@ void GameRenderer::updateLightTexture(float a)
|
||||
const __m256 v255 = _mm256_set1_ps(255.0f);
|
||||
#endif
|
||||
|
||||
// 4J-JEV: Now doing light textures on PER PLAYER basis.
|
||||
// 4J - we *had* added separate light textures for all dimensions, and this loop to update them all here
|
||||
for (int j = 0; j < XUSER_MAX_COUNT; j++)
|
||||
{
|
||||
shared_ptr<MultiplayerLocalPlayer> player = Minecraft::GetInstance()->localplayers[j];
|
||||
if (player == nullptr)
|
||||
continue;
|
||||
|
||||
Level *level = player->level;
|
||||
Level *level = player->level; // 4J - was mc->level when it was just to update the one light texture
|
||||
|
||||
const float skyDarken1 = level->getSkyDarken(1.0f);
|
||||
const float skyWeight = skyDarken1 * 0.65f + 0.35f;
|
||||
|
||||
Reference in New Issue
Block a user