* May 22, 2013, 03:43:09 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Why doesn't this shader show up in radiant?  (Read 618 times)
Shifty


Turrets: +0/-0
Posts: 75


« 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
Logged
CATAHA


Turrets: +8/-18
Posts: 539


WWW
« 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?
Logged

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


Turrets: +0/-0
Posts: 75


« Reply #2 on: January 19, 2011, 12:49:01 AM »

Yeah, shaders from the same vantage.shader file show up..but not this one.
Logged
CATAHA


Turrets: +8/-18
Posts: 539


WWW
« 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 » Logged

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
*
*

Turrets: +113/-204
Posts: 1764

omgwtfbbq


WWW
« 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.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!