Author Topic: Why doesn't this shader show up in radiant?  (Read 3646 times)

Shifty

  • Posts: 75
  • Turrets: +0/-0
Why doesn't this shader show up in radiant?
« on: January 18, 2011, 07:09:55 am »
I am trying to make a shader which appears as a solid object, and the player cant move through, and is effected by light, but doesn't cast a shadow. If this is not possible, then it can be unaffected by light and cast no shadow.

I am trying to use this shader, but it wont show up in radiant even though others from the shader file do:
Quote
textures/vantage/grey_filler_nolight
{
   qer_editorimage textures/vantage/Grey_filler.jpg
   surfaceparm nonsolid
   surfaceparm playerclip
   {
      map $lightmap
      rgbGen identity
      tcGen lightmap
   }
   {
      map textures/vantage/Grey_filler.jpg
      blendfunc filter
      rgbGen identity
   }
}

Can someone tell me what I have done wrong?

Thanks

CATAHA

  • Posts: 539
  • Turrets: +8/-18
    • Tremulous Lair
Re: Why doesn't this shader show up in radiant?
« Reply #1 on: January 18, 2011, 12:09:06 pm »
ur shader file in correct pk3 placed in correct directory? /base/scripts/shaderlist.txt have line with ur shader file (vantage) name?
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake

Shifty

  • Posts: 75
  • Turrets: +0/-0
Re: Why doesn't this shader show up in radiant?
« Reply #2 on: January 19, 2011, 12:49:01 am »
Yeah, shaders from the same vantage.shader file show up..but not this one.

CATAHA

  • Posts: 539
  • Turrets: +8/-18
    • Tremulous Lair
Re: Why doesn't this shader show up in radiant?
« Reply #3 on: January 19, 2011, 01:24:35 am »
shader image missing or shader missing?
if shader image missing then check this:

qer_editorimage textures/vantage/Grey_filler.jpg

jpeg should be uncompessed and size should be a power of two (64x64, 128x256, etc)
« Last Edit: January 19, 2011, 01:26:47 am by CATAHA »
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Why doesn't this shader show up in radiant?
« Reply #4 on: January 19, 2011, 08:56:46 pm »
Try specifying it manually in the surface inspector(press S when selecting a surface). Just type it in the text field up top and press Enter and see what happens.