fix(rendering): correct order of initilization for GLSLShader
private static final Logger logger = LoggerFactory.getLogger(GLSLShader.class);
+ private static String includedFunctionsVertex = "";
+ private static String includedFunctionsFragment = "";
+ private static String includedDefines = "";
+ private static String includedUniforms = "";
+
static {
try (
InputStreamReader vertStream = getInputStreamReaderFromResource("org/terasology/engine/include/globalFunctionsVertIncl.glsl");
}
}
- private static String includedFunctionsVertex = "";
- private static String includedFunctionsFragment = "";
- private static String includedDefines = "";
- private static String includedUniforms = "";
-
// TODO this should be handled another way, we need to get ssao parameters here
public int ssaoKernelElements = 32;
