michael-fadely / sadx-d3d11

MIT License
9 stars 3 forks source link

Compatibility with the HD subtitle font in HD GUI 2 #17

Closed PiKeyAr closed 5 years ago

PiKeyAr commented 5 years ago

It works mostly fine, but the text shows up even when its opacity is supposed to be zero. Admittedly getting this to work required a lot of hacks on vanilla DX as well. image image The subtitle letters are drawn like this: SetMaterialAndSpriteColor_Float(GlobalSpriteColor.a, SubtitleFontColorR / 255.0f, SubtitleFontColorG / 255.0f, SubtitleFontColorB / 255.0f); njDrawSprite2D_DrawNow(sprite, index, -1.0f, NJD_SPRITE_ALPHA | NJD_SPRITE_COLOR);

PiKeyAr commented 5 years ago

Looks like this is no longer an issue with the latest generic build!