Package com.ldtteam.structurize.client
Class BlueprintRenderer.TransparencyHack
java.lang.Object
com.ldtteam.structurize.client.BlueprintRenderer.TransparencyHack
- Enclosing class:
- BlueprintRenderer
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
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()
-