View Full Version : making a shader

10-15-2003, 03:34 PM
how do i make a valid shader file i tried to figure it out for myself but failed

10-15-2003, 06:45 PM
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.

Lil Killa
10-15-2003, 07:25 PM
there is no need for the "" quotes they are a waste of space if not something to screw the sader up.

10-15-2003, 09:28 PM
here this may help you just change it to the images you want to use its for light emiting shader

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
map textures/01narshadda/horiz_glow
blendFunc GL_ONE GL_ONE

10-16-2003, 06:22 PM
dbl. post

10-16-2003, 06:23 PM
the quotes are how you tell Notepad not to stick .txt at the end of your filename. They don't end up as part of the actual filename.

10-16-2003, 06:56 PM
You can also type *.* the press enter, then yourname.shader and save.

10-17-2003, 04:25 AM
a light emitting shader is useful thank you but can someone please post an example of what a shader script should look like for just a standard wall or floor shader all help is muchly appreciated :)