[OpenGL] Failing to load DXT1 textures with OpenGL renderer #1777
Labels
Bug
The issue in the run-time.
External (3rd party)
This issue is related to external component used by our project.
Modmaker Experience
Modmaker experience with OpenXRay
OpenGL
Renderer
Describe the bug
Assertion from GLI library is failing when try to load some textures from anomaly mod. Seems like particles/weapons are using DXT1 without alpha channel for optimal space usage (wpn_gauss.dds 682kb instead of original 1366kb).
Everything is OK with other renderers.
Original GLI is not updated for ages, unfortunately externals fork does not seem alive too so reporting it here.
To Reproduce
Expected behavior
Screenshots, videos
24kb are lost somewhere
Since header/header10 parts are read and game works on assertion comment, It feels like something is missing in this calculation approximation, but I am not familiar with renderer logics:
this->GlobalMemorySize = Storage.layer_size(BaseFace, MaxFace, BaseLevel, MaxLevel) * Layers;
wpn_gauss.zip
The text was updated successfully, but these errors were encountered: