Quake 4 texturing and normal mapping!!
Quake 4 texturing and normal mapping!!
I've been mapping for Q3A for a while using GTKradiant 1.5. I am also familiar on normal mapping. If I have a standard texture and a normal map to compliment it how do I get both into Quake 4's editor and working properly? I.E. Displaying on my brushes in game?
You need to write a material file. see example
/materials/yourfile.mtr
textures/pectabyte/texture
{
diffusemap textures/pectabyte/texture1_d.tga
specularmap textures/pectabyte/texture1_s.tga
bumpmap textures/pectabyte/texture1_local.tga
ger_editorimage textures/pectabyte/texture1_d.tga
}
you will now be able so the texture in the editor
/materials/yourfile.mtr
textures/pectabyte/texture
{
diffusemap textures/pectabyte/texture1_d.tga
specularmap textures/pectabyte/texture1_s.tga
bumpmap textures/pectabyte/texture1_local.tga
ger_editorimage textures/pectabyte/texture1_d.tga
}
you will now be able so the texture in the editor
[url]http://www.g0th.se[/url]