Grey limbo sky

Changes to e committed:
	modified:   src/main/java/org/dimdev/dimdoors/client/LimboSkyProperties.java
	modified:   src/main/java/org/dimdev/dimdoors/client/LimboSkyProvider.java
	new file:   src/main/resources/assets/dimdoors/textures/other/grey.png
This commit is contained in:
SD 2020-10-29 17:28:31 +05:30
parent 642924b541
commit 2c575a55cb
No known key found for this signature in database
GPG key ID: E36B57EE08544BC5
3 changed files with 4 additions and 3 deletions

View file

@ -15,6 +15,6 @@ public class LimboSkyProperties extends SkyProperties {
@Override
public boolean useThickFog(int camX, int camY) {
return true;
return false;
}
}

View file

@ -15,6 +15,7 @@ import net.minecraft.util.math.Vec3i;
public class LimboSkyProvider extends CustomSkyProvider {
private static final Identifier MOON_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_moon.png");
private static final Identifier SUN_RENDER_PATH = new Identifier("dimdoors:textures/other/limbo_sun.png");
private static final Identifier GREY_TEX = new Identifier("dimdoors:textures/other/grey.png");
public LimboSkyProvider() {
super(MOON_RENDER_PATH, SUN_RENDER_PATH, new Vec3i(0, 0, 0));
@ -26,7 +27,7 @@ public class LimboSkyProvider extends CustomSkyProvider {
RenderSystem.enableBlend();
RenderSystem.defaultBlendFunc();
RenderSystem.depthMask(false);
MinecraftClient.getInstance().getTextureManager().bindTexture(EndPortalBlockEntityRenderer.SKY_TEXTURE);
MinecraftClient.getInstance().getTextureManager().bindTexture(GREY_TEX);
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder bufferBuilder = tessellator.getBuffer();
for (int i = 0; i < 6; ++i) {
@ -46,4 +47,4 @@ public class LimboSkyProvider extends CustomSkyProvider {
RenderSystem.disableBlend();
RenderSystem.enableAlphaTest();
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB