Lighting problem with custom model

Post » Thu Mar 04, 2010 10:04 pm

Yep, so I've got a model here that I've normal mapped and given some specular. The problem is, it only works on one side. The regular lighting is much stronger on that side too. Here's a video:
http://www.youtube.com/watch?v=dwk5QaJ1syI

Could this be related to wonky normals in NifSkope? The guy I had importing the model into a .nif had to rotate it around a bit, could it be that?
User avatar
Tanika O'Connell
 
Posts: 3412
Joined: Fri Jan 26, 2007 1:34 am

Post » Thu Mar 04, 2010 10:42 pm

Can't say I've seen that issue before. But yes, wonky normals are the problem, probably. First check that you didn't accidentally mirror the disobedient side twice.

I'm going to guess that the UV map is mirrored down the center, and overlapping. Move the UV shell(s) for the mirrored side one unit away from the normal 0,1 space, so the two halves no longer occupy the same space. Then re-export, and if need be, Update Tangent space on the model in NifSkope. It's a bit mislabeled in NifSkope at the moment, but inside a TriShapeData or TriStripsData is "BS Num UV Sets", which should read "Has Tangents and Binormals". (unless someones' discovered this flag as dual purposes...) The Update Tangent Space spell will only write Tangents and Binormals if said flag is set to 4097, which is important for proper rendering of normal maps.
User avatar
Danny Blight
 
Posts: 3400
Joined: Wed Jun 27, 2007 11:30 am


Return to Fallout: New Vegas