Open dann1 opened 1 year ago
Backdrops can help here, but for layouts without them, optional text drops shadows would indeed be handy. There's an open PR to imgui to add drop shadow support for text rendering, but it looks a bit dusty. Hmm.
I should note here that a month ago or so I looked into what would be required to add this feature, given that imgui
does NOT support it in their api. The basic approach in the unmerged PR linked above is to build a second set of font billboards, blurred out. You would then render text twice: once with the unblurred billboards, then again, offset, with the blurred billboards. I will do this after I knock off the more important features and hit 1.0.
Imgui's text rendering is not great.
It would be nice to have drop shadows or text specific background for easier readability. At the moment, the text can be harder to read depending on the game world light level/texture.