shaders -1 reply

Please wait...

17th December 2005

0 Uploads

447 Posts

0 Threads

#1 11 years ago

hmm... i haven't needed to ask for help on shaders for awhile. anyway,i have a problem. im making a bladed weapons pack and the shaders i made for them aren't working. this is the shader im using for the blades: models/weapons2/axe/blade { q3map_nolightmap { map models/weapons2/axe/blade blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/weapons2/axe/blade_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map models/weapons2/axe/blade_enviro blendFunc GL_DST_COLOR GL_SRC_COLOR detail tcGen environment } }

and this is the shader im using for the handles:

models/weapons2/axe/handle { q3map_nolightmap { map models/weapons2/axe/handle blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models/weapons2/axe/handle_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } }

these are the same shaders i used for my lego lightsabers, except for the handle shaders. Help, please?

oh, and i have everythingin the correct directories:

shaders/bladedweapons.shader

models/weapons2/axe/(all the stuff that makes the axe)