From ab41fc5bc157935bfa4dba67f12b7b4f13f4c79a Mon Sep 17 00:00:00 2001 From: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> Date: Fri, 30 Dec 2022 03:57:13 +0000 Subject: Test --- .../com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java b/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java index 62f2d49058..3e047a8c5a 100644 --- a/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java +++ b/src/main/java/com/github/technus/tectech/thing/block/RenderEyeOfHarmony.java @@ -62,6 +62,9 @@ public class RenderEyeOfHarmony extends TileEntitySpecialRenderer { void renderStarLayer(TileEyeOfHarmony EOHRenderTile, int layer, ResourceLocation texture, float alpha) { + // Begin animation. + GL11.glPushMatrix(); + // OpenGL settings, not sure exactly what these do. // Disables lighting, so star is always lit (I think). @@ -73,10 +76,6 @@ public class RenderEyeOfHarmony extends TileEntitySpecialRenderer { // ??? GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); - - // Begin animation. - GL11.glPushMatrix(); - // Bind animation to layer of star. FMLClientHandler.instance().getClient().getTextureManager().bindTexture(texture); -- cgit