mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-23 21:49:52 +00:00
Borky render shenanigans.
This commit is contained in:
1 parent
531bc19f67
commit
1dfcaf1be0
4 files changed
+126
-81
No files matched your search
@@ -28,13 +28,13 @@ public final class ShaderHelper {
|
||||
private static final int FRAG = ARBFragmentShader.GL_FRAGMENT_SHADER_ARB;
|
||||
private static final String PREFIX = "/assets/avaritia/shader/";
|
||||
|
||||
public static int testShader = 0;
|
||||
public static int cosmicShader = 0;
|
||||
|
||||
public static void initShaders() {
|
||||
if(!useShaders())
|
||||
return;
|
||||
|
||||
testShader = createProgram("cosmic.vert", "cosmic.frag");
|
||||
cosmicShader = createProgram("cosmic.vert", "cosmic.frag");
|
||||
}
|
||||
|
||||
public static void useShader(int shader, ShaderCallback callback) {
|
||||
|
||||
Reference in new issue
Block a user