custom shader problem
Posted: Fri Jul 18, 2003 7:06 pm
I have a custom shader, when I went to complie, it gave me this error:
MatchToken ( { ) at line 0 in scripts/custom.shader or something like that.
this is my shader
{/textures/myhouse/test.tga
{
qer_keyword rock
qer_keyword wall
surfaceparm sand
{
map /textures/custom/test.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
the textures are in there right, but the textures aren't showing up in MOHradiant, since my map is called custom(it will be changed).
somebody help!
MatchToken ( { ) at line 0 in scripts/custom.shader or something like that.
this is my shader
{/textures/myhouse/test.tga
{
qer_keyword rock
qer_keyword wall
surfaceparm sand
{
map /textures/custom/test.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
the textures are in there right, but the textures aren't showing up in MOHradiant, since my map is called custom(it will be changed).
somebody help!