PDA

View Full Version : Quick question on textures



Wolf-In-Exile
30-10-2010, 19:42
Hi, does MoW support self-illumination in unit textures? If so how do I implement it?

I'm asking because I want to add some glow effects to a vehicle, but im not sure if its possible.

I did notice that certain effects do have a sort of self-illumination property, like numerator numbers, and the edges of battle damage caused by cannon shots (they have glowing red edges), so I was hoping I could use it for glows as well.

Thanks in advance! :realbig:
.....

Seriously? Does anybody know?

I'm quite certain there's some form of self-illumination capability in the engine, most apparent is the battle damage (when the light source is behind the tank, the damage still 'glows' in the first picture while all other areas are darkened by the ingame lighting). Numerator numbers also seem to be unaffected, but i can't say for sure.

http://i390.photobucket.com/albums/oo345/axxel88/self-illum.jpg
http://i390.photobucket.com/albums/oo345/axxel88/self-illum2.jpg

I just want to know if its possible to add this into regular unit/building textures, and if possible, how.

Also a question about mirrored UVs, does the engine support mirroring, or must every face have its own texture space? I'm not sure how the damage overlays are handled, would be weird to have shot one side but see the damage appear on the mirrored side. :P

ngvede
31-10-2010, 03:36
I'm not sure what you mean by "glow" but these "wounds" are just dds textures (look in "..../texture/wound" folder)...

The fact that these "wounds" are not affected by shadows is probably due to blend mods used in mtl files that control some properties of dds files.

For example "metal02_add.dds" comes with "metal02_add.mtl" file... If you check that one you'll see that it uses "{blend add}" line.
If you check some other mtl files (for weapons, vehicles, glass and so on) you'll see that there are few different "blend" modes... Experiment with it...

//ngvede

Wolf-In-Exile
31-10-2010, 09:27
Thanks for the reply, ngvede! :realbig:

Checked the .dds and .mtl files, explains alot about how its supposed to be made, I checked the material.set file and it doesn't have a similar format to that of vehicle textures, anyway I noticed there's a self-illumination slot in the material editor in 3dsMax, i'll try adding them in there to see if they come out in the mtl files.

Cheers for the pointers, i'll update this thread later with results. :D

ngvede
31-10-2010, 11:08
Well, if you discover something interesting make sure you let us all know :grandpa:

Matze:O:G:H
01-11-2010, 11:54
No!
there is no self-illumination in men of war. It looks like it because the decal uses other light parameters...
Cheers!