riidefi / RiiStudio

Editor for various 3D model formats
https://riidefi.github.io/RiiStudio/
88 stars 16 forks source link

Mipmaps look like scrambled garbage #2

Closed SuperHackio closed 4 years ago

SuperHackio commented 4 years ago

AstroBaseA.zip

The Mipmapping on this texture doesn't appear to be read correctly image

The first LoD level is perfectly fine, but the rest aren't. Enabling Mipmapping on the material will show the glitchy mess image

riidefi commented 4 years ago

Thanks for reporting that! I wonder why the bug affects that texture exclusively. For example, the grass in the model appears fine (marugrassmip). I'll look into it.

riidefi commented 4 years ago

Fixed it! It won't be visible on github.io immediately, but should be there soon in the next release. The issue was that if no BTI used mipmaps, LOD levels past the first would not be read.