Shader Not Working -1 reply

Please wait...

-Samurai-

I left this blank.

50 XP

18th July 2006

0 Uploads

592 Posts

0 Threads

#1 10 years ago

Ok, so my friend asked me to make him a sword, and I made it. But, the shader isnt working. here it is:

Spoiler: Show

models\weapons2\c_blade\blade { { map models\weapons2\c_blade\blade blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models\weapons2\c_blade\blade_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map models\weapons2\c_blade\cblade blendFunc GL_DST_COLOR GL_SRC_COLOR detail tcGen environment } }

Neither the Specular shader, nor the environmental one for the chrome works. I basically copied the working shader from a different file of mine and changed the paths to make everything right. Everything is spelled correctly, and all paths are correct, but it just doesnt want to work. Anyone have any ideas? Its probably some tiny detail I've overlooked. Oh yeah, I also tried making the file names wrong to see if I get the untextured gray box, and even that didnt work. Its acting like the shader isnt even there.




The One and Only

I R Scary Eyeball

50 XP

28th January 2004

0 Uploads

4,091 Posts

0 Threads

#2 10 years ago

models\weapons2\c_blade\blade { map models\weapons2\c_blade\blade blendFunc GL_ONE GL_ZERO rgbGen lightingDiffuse } { map models\weapons2\c_blade\blade_spec blendFunc GL_SRC_ALPHA GL_ONE detail alphaGen lightingSpecular } { map models\weapons2\c_blade\cblade blendFunc GL_DST_COLOR GL_SRC_COLOR detail tcGen environment }

Try arranging the brackets like that instead.