Fixed an issue with shaderNodes loading
This commit is contained in:
parent
8d4962d11f
commit
c859cf375c
@ -621,9 +621,7 @@ public class J3MLoader implements AssetLoader {
|
||||
// Not sure if this is needed anymore, since shader caching
|
||||
// is now done by TechniqueDef.
|
||||
technique.setShaderFile(technique.hashCode() + "", technique.hashCode() + "", "GLSL100", "GLSL100");
|
||||
}
|
||||
|
||||
if (shaderNames.containsKey(Shader.ShaderType.Vertex) && shaderNames.containsKey(Shader.ShaderType.Fragment)) {
|
||||
}else if (shaderNames.containsKey(Shader.ShaderType.Vertex) && shaderNames.containsKey(Shader.ShaderType.Fragment)) {
|
||||
technique.setShaderFile(shaderNames, shaderLanguages);
|
||||
} else {
|
||||
technique = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user