shader error
Posted: Thu May 06, 2004 8:37 pm
hi ,
i dont know if i have to ask here or scripting forum
its about shader ...i compiled my map and when i loaded it i had just the time to see 2 sec my wall before to get kicked
then i opend console and here is my errror:
and here the sgcanim's shader
thankx for help i guess would not be so easy to help with such shader !!!!
ty
i dont know if i have to ask here or scripting forum
its about shader ...i compiled my map and when i loaded it i had just the time to see 2 sec my wall before to get kicked
then i opend console and here is my errror:
Code: Select all
tableforfunc called with invalid function '8' in shader 'textures/sgcanims/evfront'
Code: Select all
textures/sgcanims/evback
{
qer_editorimage textures/sgcanims/evback.tga
q3map_surfacelight 10
surfaceparm nolightmap
surfaceparm water
deformVertexes wave 128 sin 0 1 0 0.75
{
map textures/sgcanims/evback.tga
blendFunc GL_ONE GL_SRC_COLOR
tcMod rotate 20
tcMod stretch sin 1.05 0.05 0 0.5
}
{
map textures/sgcanims/evback.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
tcMod rotate -10
}
{
map textures/sgcanims/evback.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
tcMod rotate -40
tcMod stretch sin 1.05 0.05 0 1
}
}
textures/sgcanims/evfront
{
qer_editorimage textures/sgcanims/evfront2.tga
q3map_surfacelight 10
surfaceparm nolightmap
surfaceparm water
deformVertexes wave 128 sin 0 1.5 0 0.75
{
map textures/sgcanims/evback.tga
blendFunc GL_ONE GL_ZERO
}
{
animMap 6 textures/sgcanims/evfront2.tga textures/sgcanims/evfront4.tga textures/sgcanims/evfront6.tga textures/sgcanims/evfront8.tga textures/sgcanims/evfront6.tga textures/sgcanims/evfront4.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
tcMod rotate 20
tcMod stretch sin 1.05 0.05 0 0.3
}
{
animMap 6 textures/sgcanims/evfront2.tga textures/sgcanims/evfront4.tga textures/sgcanims/evfront6.tga textures/sgcanims/evfront8.tga textures/sgcanims/evfront6.tga textures/sgcanims/evfront4.tga
blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
tcMod rotate -10
tcMod stretch noise 1.1 0.1 0 1
}
}
ty