Jump to content

Home

making a shader


aaw*s.n.a.f.u.*

Recommended Posts

Make the shader in notepad. When you save it, save it as "yourshadername.shader" WITH the quotation marks around it, in the shaders folder. (When you edit it in the future, you can just hit ctrl-s to save.) Then open up shaderlist.txt in the shaders folder, and add a line to the bottom that says yourshadername. Save, then flush and reload shaders in Radiant.

Link to comment
Share on other sites

here this may help you just change it to the images you want to use its for light emiting shader

 

textures/01narshadda/narwalllight01
{
q3map_lightimage	textures/01narshadda/horiz_glow
qer_editorimage	textures/01narshadda/10783
q3map_surfacelight	340
q3map_lightsubdivide	156
q3map_material	SolidMetal
   {
       map $lightmap
   }
   {
       map textures/01narshadda/10783
       blendFunc GL_DST_COLOR GL_ZERO
   }
   {
       map textures/01narshadda/horiz_glow
       blendFunc GL_ONE GL_ONE
   }
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...