Please provide information regarding your request
Render Fix is currently in the early testing phase for a Reverse Z depth buffer, which entirely solves Z fighting issues that weren't present in the Dreamcast release.
However, the debug text in the Loader uses a custom draw function with a custom shader. This causes the debug text to be drawn at the back of the screen instead of the front, and since it's custom Render Fix can't replace the draw function or shader to fix it.
This can be resolved in two ways:
- Switch to using a Ninja draw function. This not only removes the need for any custom drawing code or shader, but also means the Mod Loader will automatically use Render Fix's shaders for any future changes too.
- Just disable the Z buffer when drawing the debug text. It's a little crude, but would make it draw no matter the depth.
Option 1 is the most long term solution. The only function I see really working is njDrawTextureEx at 0x0077F6B0. The only issue is it can only draw 4 vertexes per call due to parameter inlining, however it's pretty easy to change it by writing a different value to 0x0077F6BF as long as it's set back after (Render Fix did this for a long time); and that's assuming the Loader will need more than 4.
Render Fix won't move forward with this for a little bit, so there's no rush. But, it will very likely be in the next major update.
Additional Information
No response
Please provide information regarding your request
Render Fix is currently in the early testing phase for a Reverse Z depth buffer, which entirely solves Z fighting issues that weren't present in the Dreamcast release.
However, the debug text in the Loader uses a custom draw function with a custom shader. This causes the debug text to be drawn at the back of the screen instead of the front, and since it's custom Render Fix can't replace the draw function or shader to fix it.
This can be resolved in two ways:
Option 1 is the most long term solution. The only function I see really working is
njDrawTextureExat0x0077F6B0. The only issue is it can only draw 4 vertexes per call due to parameter inlining, however it's pretty easy to change it by writing a different value to0x0077F6BFas long as it's set back after (Render Fix did this for a long time); and that's assuming the Loader will need more than 4.Render Fix won't move forward with this for a little bit, so there's no rush. But, it will very likely be in the next major update.
Additional Information
No response