|
|
@ -36,7 +36,6 @@ public class ShaderCheck { |
|
|
|
private static void checkMatDef(String matdefName){ |
|
|
|
private static void checkMatDef(String matdefName){ |
|
|
|
MaterialDef def = (MaterialDef) assetManager.loadAsset(matdefName); |
|
|
|
MaterialDef def = (MaterialDef) assetManager.loadAsset(matdefName); |
|
|
|
for (TechniqueDef techDef : def.getDefaultTechniques()){ |
|
|
|
for (TechniqueDef techDef : def.getDefaultTechniques()){ |
|
|
|
if (techDef.isUsingShaders()){ |
|
|
|
|
|
|
|
DefineList dl = new DefineList(); |
|
|
|
DefineList dl = new DefineList(); |
|
|
|
dl.addFrom(techDef.getShaderPresetDefines()); |
|
|
|
dl.addFrom(techDef.getShaderPresetDefines()); |
|
|
|
ShaderKey shaderKey = new ShaderKey(techDef.getVertexShaderName(), |
|
|
|
ShaderKey shaderKey = new ShaderKey(techDef.getVertexShaderName(), |
|
|
@ -55,7 +54,6 @@ public class ShaderCheck { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args){ |
|
|
|
public static void main(String[] args){ |
|
|
|
Logger.getLogger(MaterialDef.class.getName()).setLevel(Level.OFF); |
|
|
|
Logger.getLogger(MaterialDef.class.getName()).setLevel(Level.OFF); |
|
|
|