mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
Fixes and enhancements from my MCPE repository. (https://github.com/mschiller890/mcpe64)
This commit is contained in:
@@ -270,15 +270,15 @@ void GameRenderer::renderLevel(float a) {
|
||||
screenScissorArea.w, screenScissorArea.h);
|
||||
}
|
||||
|
||||
// if(mc->options.fancyGraphics) {
|
||||
// setupFog(-1);
|
||||
// TIMER_POP_PUSH("sky");
|
||||
// glFogf(GL_FOG_START, renderDistance * 0.2f);
|
||||
// glFogf(GL_FOG_END, renderDistance *0.75);
|
||||
// levelRenderer->renderSky(a);
|
||||
// glFogf(GL_FOG_START, renderDistance * 0.6f);
|
||||
// glFogf(GL_FOG_END, renderDistance);
|
||||
// }
|
||||
if(mc->options.fancyGraphics) {
|
||||
setupFog(-1);
|
||||
TIMER_POP_PUSH("sky");
|
||||
glFogf(GL_FOG_START, renderDistance * 0.2f);
|
||||
glFogf(GL_FOG_END, renderDistance *0.75);
|
||||
levelRenderer->renderSky(a);
|
||||
glFogf(GL_FOG_START, renderDistance * 0.6f);
|
||||
glFogf(GL_FOG_END, renderDistance);
|
||||
}
|
||||
glEnable2(GL_FOG);
|
||||
setupFog(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user