mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-11 12:22:14 +00:00
added bunch of todos, modified readme
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user