PDA

View Full Version : UVW Map + dynamic light help



Sasc
July 28th, 2008, 07:54 PM
I keep having these strange errors when dynamic light "shines" on the ground texture of my map. Here are some images showing this:

http://img137.imageshack.us/img137/7692/err1of2.jpg

http://img137.imageshack.us/img137/7986/err2js9.jpg

http://img137.imageshack.us/img137/9823/err3my7.jpg


My theory to why this is happening is because the texture isn't aligned to the polygon’s normal (I did a simple Z Alignment UVW map on the ground texture to save time).

If my theory is correct, how can I make the texture align to the polygon's normal without manually mapping each polygon? Would I need to do an "Unwrap UVW"? If I do, should I leave it 'till the end of mapping? The last time I did an unwrap, the map crashed when I tried to export it, but it exported when I didn't do an "Edit Mesh" right after the unwrap.

Bastinka
July 28th, 2008, 07:56 PM
That actually looks pretty cool, but I'm not really sure about it. I don't think it has to do with how you UVW'd the map but more of the tag? Is it a Plasma grenade or a light?

Chewy Gumball
July 28th, 2008, 08:54 PM
I think it has more to do with the light tag having a conical volume.

Ifafudafi
July 28th, 2008, 09:03 PM
Something similar to this happened to me, but in a different way.

While screwing around with bump maps, I tried applying one to the map geometry's shader_environment tag; after that, all the lights started doing what they're doing to you.

That's probably not what happened to you, but maybe it'll help you figure something else out.

Sasc
July 28th, 2008, 09:26 PM
Something similar to this happened to me, but in a different way.

While screwing around with bump maps, I tried applying one to the map geometry's shader_environment tag; after that, all the lights started doing what they're doing to you.

That's probably not what happened to you, but maybe it'll help you figure something else out.

Thanks for helping me out. It was a problem with the bump map. I hadn't set up the .bitmap tag corectly. The dynamic light now works fine.

Thanks for your help.