weird shader problem
Posted: Sun Feb 28, 2010 10:09 pm
now ive never had this problem b4, but when i compile with this shader i test the map it runs fine. until, i get near to the point where i used the lava, then it go back to main menu.
which is weird because its the exact code i used for another shader except for the blendfunc and textures.
^^this is the shader that crashes
^^ this shader works fine.
which is weird because its the exact code i used for another shader except for the blendfunc and textures.
Code: Select all
textures/minions-run14/lava2_1k
{
qer_editorimage textures/ghost-custom/protolava_blue.tga
surfaceparm lava
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm trans
tessSize 128
q3map_surfacelight 1000
{
map textures/ghost-custom/protolava_blue.tga
tcMod scroll 0.05 -0.09
tcMod turb 0.2 0.1 1 0.09
}
{
map textures/ghost-custom/protolava2_blue.tga
blendfunc gl_one_minus_dst_color_gl_zero
tcMod scroll -0.05 0.09
tcMod turb 0.4 0.1 1 0.2
}
}
Code: Select all
textures/minions-run14/lava1k
{
qer_editorimage textures/liquids/lavahell_blue.tga
surfaceparm lava
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm trans
tessSize 128
q3map_surfacelight 1000
{
map textures/liquids/lavahell_blue.tga
tcMod scroll 0.05 -0.09
tcMod turb 0.2 0.1 1 0.09
}
{
map textures/liquids/lava2_blue.tga
blendfunc filter
tcMod scroll -0.05 0.09
tcMod turb 0.4 0.1 1 0.2
}
}