ByteArrayOutputStream out = new ByteArrayOutputStream();
PP pp = new PP();
pp.define("AMBIENT_OCCLUSION", "AMBIENT_OCCLUSION");
//pp.define("RNGTEST", "RNGTEST");
if (pp.preprocess(resourceName, basePath, in, out, System.err)) {
String kernel = new String(out.toByteArray());
return kernel;
}
} catch (IOException e) {