I'm observing a weird issue with normal and specular maps.
I've been trying to adapt a couple of models from pino69 Armor Pack. All textures are encoded as DXT3 there, but since alpha-channel is not used anywhere, I converted them to DXT1 to save file size. Once that happened, specular map ceased working completely, resulting in a dark grey model.
With some experimenting I've managed to prove that it's normalmap who is the culprit. When the normalmap is saved as DXT3, everything works fine. It doesn't matter if I'm using original normalmap or re-convert DXT1 version back to DXT3. Diffuse and specular maps work perfecfly fine as either DXT1 or DXT3 and don't seem to influence the result in any way.
Item is using the same specular_shader_skin_bump_high shader as tons of vanilla items, and all flags on all textures, materials and items match vanilla items which work perfectly fine with DXT1 normalmaps.
Interesting that when I disable the bumpmaps in OpenBrf, specular map starts working correctly. However, unlike the "black item" issue with DXT3 normalmaps, this issue persists in the game as well - i.e. the game shows the dull item version.
Unfortunately my level of expertise with textures and shaders is on the level of trained monkey, so any help would be welcome.
Download the archive with test files.
I've been trying to adapt a couple of models from pino69 Armor Pack. All textures are encoded as DXT3 there, but since alpha-channel is not used anywhere, I converted them to DXT1 to save file size. Once that happened, specular map ceased working completely, resulting in a dark grey model.
With some experimenting I've managed to prove that it's normalmap who is the culprit. When the normalmap is saved as DXT3, everything works fine. It doesn't matter if I'm using original normalmap or re-convert DXT1 version back to DXT3. Diffuse and specular maps work perfecfly fine as either DXT1 or DXT3 and don't seem to influence the result in any way.
Item is using the same specular_shader_skin_bump_high shader as tons of vanilla items, and all flags on all textures, materials and items match vanilla items which work perfectly fine with DXT1 normalmaps.
Interesting that when I disable the bumpmaps in OpenBrf, specular map starts working correctly. However, unlike the "black item" issue with DXT3 normalmaps, this issue persists in the game as well - i.e. the game shows the dull item version.
Unfortunately my level of expertise with textures and shaders is on the level of trained monkey, so any help would be welcome.
Download the archive with test files.