Author Topic: Shader image? i want textures :(  (Read 2095 times)

X-20

  • Posts: 268
  • Turrets: +62/-33
Shader image? i want textures :(
« on: December 16, 2007, 06:44:26 am »
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

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Shader image? i want textures :(
« Reply #1 on: December 16, 2007, 07:43:58 am »
All "textures" in Quake 3 are seen as shaders. Loading a simple texture means it gets loaded as the most basic shader of all:
Code: [Select]
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.
« Last Edit: December 16, 2007, 07:47:23 am by Odin »

X-20

  • Posts: 268
  • Turrets: +62/-33
Re: Shader image? i want textures :(
« Reply #2 on: December 16, 2007, 07:33:29 pm »
 :D it worked, thanks :P
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