Closed mortany closed 1 year ago
Ah, its mistake, its fixed after swap X and Y channels in normal map.
Quick question before closing this officially: Did you have to manually swap that out, change the game file's normal map, or something else? I want to make sure that the mapping isn't wrong in the code even if there was a manual fix.
Did you have to manually swap that out
Yep, texture has DXGI_FORMAT_BC5_SNORM format and after save it into tga i swapped red and green channels and smoothing after apply normal map looks absolutely correct like as ingame. Normal vectors looks correct in my opinion.
Describe the bug Exported smoothing dont original, because normal map dont aplly correctly with this smoothing. I tried .dae and .obj and got same wrong result.
Game: Sniper Ghost Warrior Contracts 2 Model: objects.pak\objects\weapons\ksg_pc33\ksg_pc33_fp.chr