Fixed a possible bug in TextureAtlas.java
It seems that the variable was the wrong one when adding the normal texture to the atlas.
This commit is contained in:
parent
b006204c0f
commit
19577c3288
@ -155,7 +155,7 @@ public class TextureAtlas {
|
||||
return false;
|
||||
} else {
|
||||
if (normal != null && normal.getKey() != null) {
|
||||
addTexture(diffuse, "NormalMap", keyName);
|
||||
addTexture(normal, "NormalMap", keyName);
|
||||
}
|
||||
if (specular != null && specular.getKey() != null) {
|
||||
addTexture(specular, "SpecularMap", keyName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user