Class BlueprintRenderer.TransparencyHack

java.lang.Object
com.ldtteam.structurize.client.BlueprintRenderer.TransparencyHack
Enclosing class:
BlueprintRenderer

public static class BlueprintRenderer.TransparencyHack extends Object
Assuming there's no blend function active let's take advantage of OpenGL blend color constant which doesnt require any shader changes at all. More info at: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBlendColor.xhtml
  • Field Details

    • THRESHOLD

      public static final float THRESHOLD
      See Also:
    • applied

      protected static boolean applied
  • Constructor Details

    • TransparencyHack

      public TransparencyHack()
  • Method Details

    • apply

      public static void apply(float overrideValue)
    • reset

      public static void reset()