soulsmods / DSMapStudio

A standalone map/level editor for Demon's Souls, Dark Souls 1/2/3, Bloodborne, Sekiro, and Elden Ring.
MIT License
447 stars 58 forks source link

v1.11: Black textures in DS3 #914

Closed RunDevelopment closed 1 month ago

RunDevelopment commented 1 month ago

I just tested loading DS3 maps and found that some textures are black. This is different from v1.10 where these textures were displayed correctly.

m30_00 image

m32_00 image

Philiquaz commented 1 month ago

I'm assuming this is something to do with those meshes having vertex colours in addition to any texture, hoping @Shadowth117 can look into it.

Philiquaz commented 1 month ago

Okay, I've looked a little more and am seeing some details now. Looks like it was the shaders to add vertex colours. In addition, it seems these textures may have been getting misinterpreted by the shaders already with heavily distorted tex coords. Going to check which is a preferable compromise until we can figure out some correct method to handle this.

Philiquaz commented 1 month ago

Shaders reverted until vertex coloring is worked on again, and a toggle or solution compliant to all games is written.

RunDevelopment commented 1 month ago

Thank you!