aaw*s.n.a.f.u.* Posted October 15, 2003 Share Posted October 15, 2003 how do i make a valid shader file i tried to figure it out for myself but failed Link to comment Share on other sites More sharing options...
silverwest Posted October 15, 2003 Share Posted October 15, 2003 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 More sharing options...
Lil Killa Posted October 15, 2003 Share Posted October 15, 2003 there is no need for the "" quotes they are a waste of space if not something to screw the sader up. Link to comment Share on other sites More sharing options...
reaper1576 Posted October 16, 2003 Share Posted October 16, 2003 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 More sharing options...
silverwest Posted October 16, 2003 Share Posted October 16, 2003 dbl. post Link to comment Share on other sites More sharing options...
silverwest Posted October 16, 2003 Share Posted October 16, 2003 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. Link to comment Share on other sites More sharing options...
GothiX Posted October 16, 2003 Share Posted October 16, 2003 You can also type *.* the press enter, then yourname.shader and save. Link to comment Share on other sites More sharing options...
aaw*s.n.a.f.u.* Posted October 17, 2003 Author Share Posted October 17, 2003 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.