Quake 4 texturing and normal mapping!!

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Pectabyte
Posts: 25
Joined: Wed Sep 27, 2006 8:43 pm

Quake 4 texturing and normal mapping!!

Post 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?
g0th-
Posts: 262
Joined: Sat May 19, 2007 7:57 pm

Post 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
[url]http://www.g0th.se[/url]
dnky
Posts: 188
Joined: Thu Nov 24, 2005 3:49 pm

Post by dnky »

bit of a typo there:
qer_editorimage, as opposed to ger_
Whatever....
Pectabyte
Posts: 25
Joined: Wed Sep 27, 2006 8:43 pm

Post by Pectabyte »

/materials is the folder in the baseq4 folder where my .mtr file must be right? It cannot be in /textures ?
corsair
Posts: 972
Joined: Fri May 18, 2001 7:00 am

Post by corsair »

indeed ^^
o'dium
Posts: 11712
Joined: Sun Mar 25, 2001 8:00 am

Post by o'dium »

User avatar
Survivor
Posts: 4202
Joined: Fri Dec 27, 2002 8:00 am

Post by Survivor »

A 7 poster helping a 13 poster out :o. Miracles do exist.
Post Reply