News:

Come Chat with us live! Learn how HERE!

Main Menu

Shader image? i want textures :(

Started by X-20, December 16, 2007, 06:44:26 AM

X-20

Alright i got a simple problem i put my .jps/.tga's in tremulous/base/textures/(mapname) and they load up in gtk.. but they dont show the actual texture in the texture box.. it just says shader image. Any suggestions here?
Quote from: Stannum
I'm busy making muffins right now so I'll have to ban you later. >:|
Quote<joey`> mcdonalds fired me for trying to install irc on the teleprompter

Odin

#1
All "textures" in Quake 3 are seen as shaders. Loading a simple texture means it gets loaded as the most basic shader of all:

textures/(mapname)/(texture)
{
    qer_shaderimage textures/(mapname)/(texture).(extension)
    {
        map textures/(mapname)/(texture).(extension)
        rgbGen identity
    }
    {
        map $lightmap
        blendFunc filter
    }
}

When you select a texture(with no shader) in GtkRadiant, the extension is cut off, because it is a shader of its own.
Add (mapname) to the end of shaderlist.txt, found in scripts/ so you can see your own textures and shaders.

X-20

Quote from: Stannum
I'm busy making muffins right now so I'll have to ban you later. >:|
Quote<joey`> mcdonalds fired me for trying to install irc on the teleprompter