Page 1 of 1

[Fixed] MD2 models don't show textures properly

Posted: Mon Aug 10, 2020 11:37 am
by Lobo
I noticed this using my MEGA pack: the megasphere and other spherical pickups didn't show the "face" texture. Maybe the normals were inverted or something...?

EDGE 1.35: Works OK, this is how it should look
shot23.jpg
shot23.jpg (40.99 KiB) Viewed 9525 times


EDGE (x64) 2.1.0pre-96: see how the faces are gone..
shot12.jpg
shot12.jpg (32.55 KiB) Viewed 9525 times


And finally here's a demo WAD.
MD2Bug.wad
(135.21 KiB) Downloaded 672 times
BTW, if you jump in the water you can see the other water/colmap/dark sector bug. 2 for 1!

Re: MD2 models don't show textures properly

Posted: Mon Aug 10, 2020 1:35 pm
by Corbachu
Cool, I'll wait until you can drop the model pack. I might have an idea of what's going on, but yea. If you could provide me with something (even a sample) it'd make fixing it even quicker.

Re: MD2 models don't show textures properly

Posted: Mon Aug 10, 2020 2:02 pm
by Lobo
Original post updated with demo and more info.

Re: MD2 models don't show textures properly

Posted: Mon Aug 10, 2020 7:00 pm
by Corbachu
Fixed the blending mode on MD2 models with commit e784f9c due to a very stupid mistake that was made a very long time ago.

Colormap issues are due to the new renderer path being incomplete - you can correct this now by going into OPTIONS->Advanced video and setting GL3 mode to off (or use r_gl3_path and set it to '0').

I'll push the new binaries shortly. Here's some screenshots showing the fixes.

Re: [FIXED] MD2 models don't show textures properly

Posted: Mon Aug 10, 2020 11:21 pm
by Lobo
Nice one. Verified as fixed the md2 issue.

The water colmap is not though: even in your screenshot I can see it's still dark.

Re: [Fixed] MD2 models don't show textures properly

Posted: Sun Aug 16, 2020 10:16 am
by Corbachu
Fixed @c665e63.