Exordium

Exordium

984k Downloads

Debug Overlay too dark

JustAlittleWolf opened this issue ยท 3 comments

commented

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 568737d?

commented

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

commented

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

commented

(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?)