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.
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);
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.
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);