dpjudas / UT99VulkanDrv

Vulkan, Direct3D 11 and Direct3D 12 renderer for Unreal Tournament (UT99)
Other
84 stars 8 forks source link

Strange shading #17

Closed BerserkerBG closed 1 year ago

BerserkerBG commented 1 year ago

I noticed some strange shadow shading in Vulkan: Screenshot_168

Compared to other renderers: Screenshot_169

dpjudas commented 1 year ago

This most likely has to do with the way it clamps the darkest shades in textures to avoid certain visual artifacts elsewhere in UT. I don't intend to fix this as I'm already tired of trying to read the other render devices code to look for some one-liner somewhere that makes all the difference. Sorry. :)

BerserkerBG commented 1 year ago

image (1)