I'm not sure this is the right forum I chose to post but I'd like some feedback on a texture glitch I found in DarkPlaces using Rygel's weapons-pack from here (which comes from Ryge's ultra).
I posted some pics to show what I mean. These snapshot are taken with the light setting on high, not full, so RT-lighting is off. As you can see the textures are not properly applied to the model (black spots) and it's much more noticeable in the animated spinning model.



At first I though there was a problem with the textures not matching the models, but after some fiddling I came with the idea of deleting the normal maps of the models. They shouldn't matter as my setting didn't use RT-lighting anyway, yet lo and behold, after removing the normals the problem vanished!
So my next step was to take a look at these normals made by Rygel. Here's the one for the super nail gun (nail2).

Then I tried to make one myself with CrazyBump (as I did in the past for other models with missing normals). Here's mine:

If you look at both of them you'll notice mine is inverted w.r.t. Rygel's. I put my normals in Rygel's weapons-pack and ran DP. To my surprise this time there wasn't a problem in DP and the textures were applied correctly and without glitches.



So to make a long story short, it seems Rygel's normals for some models are inverted and cause glitches in DP that can be noticed in particular when the models spin. I've also notices this for the BKeys, Pentagram-of-invincibility, and the Runes. By making the normal maps inverted seems to correct the problem, at least in my case.
I posted some pics to show what I mean. These snapshot are taken with the light setting on high, not full, so RT-lighting is off. As you can see the textures are not properly applied to the model (black spots) and it's much more noticeable in the animated spinning model.



At first I though there was a problem with the textures not matching the models, but after some fiddling I came with the idea of deleting the normal maps of the models. They shouldn't matter as my setting didn't use RT-lighting anyway, yet lo and behold, after removing the normals the problem vanished!
So my next step was to take a look at these normals made by Rygel. Here's the one for the super nail gun (nail2).

Then I tried to make one myself with CrazyBump (as I did in the past for other models with missing normals). Here's mine:

If you look at both of them you'll notice mine is inverted w.r.t. Rygel's. I put my normals in Rygel's weapons-pack and ran DP. To my surprise this time there wasn't a problem in DP and the textures were applied correctly and without glitches.



So to make a long story short, it seems Rygel's normals for some models are inverted and cause glitches in DP that can be noticed in particular when the models spin. I've also notices this for the BKeys, Pentagram-of-invincibility, and the Runes. By making the normal maps inverted seems to correct the problem, at least in my case.
Comment