Log In  


While working on a DOOM style 3D game, I came across what I'm fairly confident now is a bug in how tline3d uses the w0 and w1 parameters. To illustrate the issue (and because explaining what's happening is fairly difficult, I'm not certain myself exactly what's happening) I've created a reproduction cart which also contains an implementation of what I would have expected tline3d to do.

Cart #niyimakoye-0 | 2025-06-22 | Embed ▽ | No License

Press Enter or Start to toggle between the builtin implementation and my own.



You need to multiply the U and V coordinates by the W coordinates. This was touched upon in the gfx pipeline doc but is strangely missing from the manual.



[Please log in to post a comment]