ignore some textures

This commit is contained in:
zimzaza4
2025-04-04 22:58:26 +08:00
parent 60993d96a3
commit ffea824de9
2 changed files with 6 additions and 1 deletions

View File

@@ -93,6 +93,9 @@ public class Entity {
}
for (String name : textureMap.keySet()) {
if (name.endsWith("_e")) {
continue;
}
if (modelConfig.getPerTextureUvSize().containsKey(name)) {
Integer[] size = modelConfig.getPerTextureUvSize().getOrDefault(name, new Integer[]{16, 16});
String suffix = size[0] + "_" + size[1];

View File

@@ -31,7 +31,9 @@ public class RenderController {
Set<Bone> processedBones = new HashSet<>();
boolean singleTexture = entity.textureMap.size() == 1 && entity.modelConfig.getPerTextureUvSize().isEmpty();
for (String key : entity.textureMap.keySet()) {
if (key.endsWith("_e")) {
continue;
}
// Texture texture = entity.textureMap.get(key);
Set<String> uvBonesId = entity.getModelConfig().bingingBones.get(key);