Page 1 of 1

Quake 4 texturing and normal mapping!!

Posted: Mon May 21, 2007 3:45 am
by Pectabyte
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?

Posted: Mon May 21, 2007 4:08 am
by g0th-
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

Posted: Mon May 21, 2007 7:05 am
by dnky
bit of a typo there:
qer_editorimage, as opposed to ger_

Posted: Mon May 21, 2007 7:44 am
by Pectabyte
/materials is the folder in the baseq4 folder where my .mtr file must be right? It cannot be in /textures ?

Posted: Mon May 21, 2007 9:28 am
by corsair
indeed ^^

Posted: Mon May 21, 2007 12:11 pm
by o'dium

Posted: Mon May 21, 2007 5:48 pm
by Survivor
A 7 poster helping a 13 poster out :o. Miracles do exist.