mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-25 14:34:52 +00:00
BALLS OF... well, everything really.
This commit is contained in:
1 parent
2ce89feeab
commit
97f87ce024
21 files changed
+726
-56
No files matched your search
@@ -20,6 +20,7 @@ public class CosmicRenderShenanigans {
|
||||
|
||||
public static String[] lightmapobf = new String[] {"lightmapColors", "field_78504_Q", "U"};
|
||||
public static boolean inventoryRender = false;
|
||||
public static float cosmicOpacity = 1.0f;
|
||||
|
||||
static {
|
||||
shaderCallback = new ShaderCallback() {
|
||||
@@ -55,6 +56,9 @@ public class CosmicRenderShenanigans {
|
||||
|
||||
int s = ARBShaderObjects.glGetUniformLocationARB(shader, "externalScale");
|
||||
ARBShaderObjects.glUniform1fARB(s, scale);
|
||||
|
||||
int o = ARBShaderObjects.glGetUniformLocationARB(shader, "opacity");
|
||||
ARBShaderObjects.glUniform1fARB(o, cosmicOpacity);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user