top of page

simple shiny knife shader (when you are about to save, don't forget to add the .shader extension at the end of the script name)


models/weapons2/knife/your_blade     
{
       {
       map models/weapons2/knife/your_blade.jpg
       }
       {
       map models/weapons2/knife/your_glint.jpg
       blendfunc add
       tcGen environment 
       tcMod turb 0 0.25 0.5 0.2
       tcMod scroll 1
       }
       {
       map $lightmap
       blendFunc filter
       }
}


simple glass knife shader


models/weapons2/knife/your_blade
{
       q3map_lightimage models/weapons2/knife/your_blade.tga
       surfaceparm trans    
       surfaceparm nolightmap
       cull none
       qer_trans     0.5
       
       {
       map models/weapons2/knife/your_glass.tga
       tcgen environment
       tcMod turb 0 0.2 0 0.1
       blendFunc GL_ONE GL_ONE
       }
}

 

bottom of page