Closed Parovozik closed 4 years ago
Here trouble with compressed textures DXT 4_5 which converted for Vulkan as VK_FORMAT_BC3.
/* k_DXT1 */ {VK_FORMAT_BC1_RGBA_UNORM_BLOCK},
/* k_DXT2_3 */ {VK_FORMAT_BC2_UNORM_BLOCK},
/* k_DXT4_5 */ {VK_FORMAT_BC3_UNORM_BLOCK},
I tried replaced on other formats, and came to the conclusion that everything is correct here, and the error occurs already in the rendering (the error is that the alpha channel is not used).
For example BC4 instead BC3 for DXT5 textures
Hmm... Similar issue to Banjo Kazooie (xenia-project/game-compatibility#206)?
I see Banjo rendering correct now (remember screenshot with eggs)
i will try replace format, but most likely here other format.
I tried Banjo. Eggs uses texture format k_8888. Alpha channel used but slightly glitch with close other obects and depend on view angel. Transparent turn on 1st egg and 2nd too but only one of them:
Banjo Tooie's issue is that the game isn't properly enabling alpha tests. Most likely a JIT issue.
This issue is present too in Bayonetta
Still present on DX12 in many games
Not a format glitch — currently kill
shader instructions are totally ignored because they don't write anything to registers. The only reason why I'm not fixing it yet is because when I tried to do so, the Vulkan renderer started giving GPU crashes everywhere — the SPIR-V shader translator in Xenia doesn't really support this scenario.
Some transparency glitches solved in latest Xenia build, (Bayonetta plants for example)
Now fixed with commit https://github.com/xenia-project/xenia/commit/9dd62c1e1553cf89bb7e3c4779163ec404b9599f
Yes, alpha to coverage is implemented on Direct3D.
Forgive my ignorance, but how exactly can I fix this? I have been having this problem with gta iv and it is quite annoying. (i use vulkan)
Forgive my ignorance, but how exactly can I fix this? I have been having this problem with gta iv and it is quite annoying. (i use vulkan)
Alpha-to-coverage hasn't been implemented in the Vulkan backend yet, use Direct3D 12 for now.
For some games textures without transparency where it should be. Maybe uses incorrect format textures? For example games as RDR (trees, grass), Midnight Club LA (grass), Naruto games (trees, grass), GTA San Andreas (vegetable, wires), MK vs DCU (trees, effects), Asterix at the Olympic games (effects) and more.
![desktop 2018 03 04 - 17 48 29 01 mp4_snapshot_00 35_ 2018 03 04_20 48 33](https://user-images.githubusercontent.com/19775644/36948556-acf47bdc-1fed-11e8-926f-d1e0467737d0.jpg)