откорректированны параметры

This commit is contained in:
2026-08-09 21:30:29 +04:00
parent e7a6e587ff
commit 4f6944668e
3 changed files with 3 additions and 2 deletions
@@ -34,7 +34,7 @@ public class PostProcessingManager {
private static int scaledTexture; private static int scaledTexture;
private static int scaledWidth; private static int scaledWidth;
private static int scaledHeight; private static int scaledHeight;
private static final float scale = 0.5f; private static final float scale = 0.333f;
private static final Matrix4f projection = new Matrix4f(); private static final Matrix4f projection = new Matrix4f();
private static final Matrix4f inverseProjection = new Matrix4f(); private static final Matrix4f inverseProjection = new Matrix4f();
@@ -102,6 +102,7 @@ public final class FogBlockRegistry {
// Waterlogged уже обработан в getPackedProperties // Waterlogged уже обработан в getPackedProperties
if (!state.getFluidState().isEmpty()) return true; // лава и другие жидкости if (!state.getFluidState().isEmpty()) return true; // лава и другие жидкости
if (state.isIn(BlockTags.LEAVES)) return false; if (state.isIn(BlockTags.LEAVES)) return false;
if (state.getBlock() == Blocks.MANGROVE_ROOTS) return false;
return state.blocksMovement(); return state.blocksMovement();
} }
} }
@@ -85,7 +85,7 @@ public final class FogEnvironmentContext {
smoothRain = lerp(smoothRain, rainFactor, lerpSpeed * 2.0f); smoothRain = lerp(smoothRain, rainFactor, lerpSpeed * 2.0f);
fogDayRandom = rawFogDayRandom; fogDayRandom = rawFogDayRandom;
heightFadeMax = rawHeightFadeMax; // Не сглаживаем, постоянен в течение дня heightFadeMax = rawHeightFadeMax + rain*100; // Не сглаживаем, постоянен в течение дня
emissionMultiplier = smoothEmission; emissionMultiplier = smoothEmission;
targetDensityMultiplier = smoothTargetDensity; targetDensityMultiplier = smoothTargetDensity;