added bunch of todos, modified readme

This commit is contained in:
JuiceyDev
2026-03-06 17:28:35 +01:00
parent 0e13ac4955
commit 36166bfdae
4 changed files with 7 additions and 23 deletions

View File

@@ -838,9 +838,8 @@ void GameRenderer::turnOnLightLayer(double alpha)
glActiveTexture(GL_TEXTURE0);
}
#endif
// Linux/PC: TextureBindVertex is a no-op (no vertex texture unit on desktop GL2.1).
// The glTexParameteri calls below MUST NOT execute — they would corrupt the currently
// bound terrain atlas on GL_TEXTURE0, replacing GL_NEAREST with GL_LINEAR every frame.
// update light texture
// todo: check implementation of getLightTexture.
RenderManager.TextureBindVertex(getLightTexture(mc->player->GetXboxPad(), mc->level));
#if 0
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);