Dynamic Light Model Weirdness

Wed May 15, 2019 10:33 pm

Attached is a demo file of a map object I took from SUPERNatural and turned it into a model.

When loading up the game, every time the bobbing lights reach the top of their bobbing, the entire tower will rotate 90 degrees immediately and turn.... and this is where things start to get a little nutty. The "shape" or "direction" of the GL lights also changes and gets all sorts of weird, like it's partly a spot light, though it's simply an attenuated point light.

For the record, made sure this model was as clean as possible, ensuring there were only tris and quads that are clean all over. If needed I can supply the model too, in .blend format.
You do not have the required permissions to view the files attached to this post.

Re: Dynamic Light Model Weirdness

Thu May 16, 2019 4:09 pm

After correcting the normals and everything, the model still presents the weird 'direction' stuff that's occurring with the light as if it's a spot light.

But when I exported it as an .obj instead of .md3, everything changed and it became spot on, looking correct. Strange...

Re: Dynamic Light Model Weirdness

Fri May 17, 2019 5:59 pm

The lighting looks fine, but apparently it's SSAO that goes all screwy. I'm assuming that md3 exports with broken normals.