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:
Quotetextures/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
ur shader file in correct pk3 placed in correct directory? /base/scripts/shaderlist.txt have line with ur shader file (vantage) name?
Yeah, shaders from the same vantage.shader file show up..but not this one.
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)
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.