Skip to content

Commit

Permalink
sus disableLighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderblade73 committed Jan 24, 2024
1 parent da05569 commit ae7a89a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/test/GriffinUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ object GriffinUtils {
)
GlStateManager.disableTexture2D()
if (distSq > 5 * 5 && beacon) RenderUtils.renderBeaconBeam(x, y + 1, z, color.rgb, 1.0f, partialTicks)
GlStateManager.disableLighting()
//GlStateManager.disableLighting()
GlStateManager.enableTexture2D()

if (seeThroughBlocks) {
GlStateManager.enableDepth()
GlStateManager.enableCull()
}
}
}
}
4 changes: 2 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ object RenderUtils {
)
GlStateManager.disableTexture2D()
if (distSq > 5 * 5 && beacon) renderBeaconBeam(x, y + 1, z, color.rgb, 1.0f, partialTicks)
GlStateManager.disableLighting()
//GlStateManager.disableLighting()
GlStateManager.enableTexture2D()
GlStateManager.enableDepth()
GlStateManager.enableCull()
Expand Down Expand Up @@ -235,7 +235,7 @@ object RenderUtils {
GlStateManager.rotate(-renderManager.playerViewX, 1.0f, 0.0f, 0.0f)
GlStateManager.rotate(renderManager.playerViewY, 0.0f, 1.0f, 0.0f)
GlStateManager.popMatrix()
GlStateManager.disableLighting()
//GlStateManager.disableLighting()


if (seeThroughBlocks) {
Expand Down

0 comments on commit ae7a89a

Please sign in to comment.