shader problem
Posted: Thu May 06, 2004 11:43 pm
hi ,
it seems that my post disappeared strange
i had a problem with a shader here is the error in console
and the shader is here
ty the shader wont be so easy to correct i understand nothing :/
thanks for help
it seems that my post disappeared strange
i had a problem with a shader here is the error in console
Code: Select all
ERROR: 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
}
}
thanks for help