Exordium icon indicating copy to clipboard operation
Exordium copied to clipboard

Debug Overlay too dark

Open JustAlittleWolf opened this issue 2 years ago • 3 comments

Hello, the debug overlay is way darker than the vanilla one (left buffer OFF, right buffer ON): This was not an issue in exordium 1.1.4. Could this be due 568737d06ed3a3e0dd8ec48ead13b83b19cf5925?

JustAlittleWolf avatar Sep 08 '23 13:09 JustAlittleWolf

This could be a result of rendering with the shader(rendering up to 8 textures at the same time in one render call). This was my first time working with hlsl shader code, and the blending of the alpha values is not as straightforward as expected https://github.com/tr7zw/Exordium/blob/1.20/Shared/src/main/resources/assets/minecraft/shaders/core/position_multi_tex.fsh . I'd say this is not a major issue, but a nice to fix if anyone knows how.

For reference, some indev screenshots of me fighting with the blending: These should have been the same colors: grafik grafik grafik grafik Kinda nuking the alpha of the scoreboard with the vignette: grafik

tr7zw avatar Sep 08 '23 13:09 tr7zw

Oh right I see, that's a little more complicated to fix then

JustAlittleWolf avatar Sep 08 '23 14:09 JustAlittleWolf

(Potentially the entire color could also be off, since the f3 gets rendered onto an empty texture. But that texture must have a color, even when its 100% transparent, afaik it should be black, but maybe having it white would be more correct, idk?)

tr7zw avatar Sep 08 '23 14:09 tr7zw