This commit is contained in:
Matthew William Noel authored and GitHub committed 2024-01-30 11:46:53 -08:00
1 parent 4d39c90ba6
commit 05158317e8
3 files changed
+42 -1

No files matched your search

@@ -74,7 +74,10 @@ public class AtlasPBRLoader implements PBRTextureLoader<TextureMap> {
}
if (normalAtlas != null) {
if (normalAtlas.tryUpload(atlasWidth, atlasHeight, mipLevel, ((TextureMapAccessor) texMap).getAnisotropicFiltering())) {
if (normalAtlas.tryUpload(atlasWidth,
atlasHeight,
mipLevel,
((TextureMapAccessor) texMap).getAnisotropicFiltering())) {
pbrTextureConsumer.acceptNormalTexture(normalAtlas);
}
}