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:
parent
642924b541
commit
2c575a55cb
3 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,6 @@ public class LimboSkyProperties extends SkyProperties {
|
|||
|
||||
@Override
|
||||
public boolean useThickFog(int camX, int camY) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
BIN
src/main/resources/assets/dimdoors/textures/other/grey.png
Normal file
BIN
src/main/resources/assets/dimdoors/textures/other/grey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Loading…
Reference in a new issue