OgreXML materials: inherit more parameters from TextureKey
Allows modifying the key in a AssetLoadListener to modify the anisotropic filter
This commit is contained in:
parent
9ad1992681
commit
9759e24961
@ -139,6 +139,8 @@ public class MaterialLoader implements AssetLoader {
|
||||
|
||||
textures[texUnit].setImage(loadedTexture.getImage());
|
||||
textures[texUnit].setMinFilter(loadedTexture.getMinFilter());
|
||||
textures[texUnit].setMagFilter(loadedTexture.getMagFilter());
|
||||
textures[texUnit].setAnisotropicFilter(loadedTexture.getAnisotropicFilter());
|
||||
textures[texUnit].setKey(loadedTexture.getKey());
|
||||
|
||||
// XXX: Is this really neccessary?
|
||||
|
Loading…
x
Reference in New Issue
Block a user