MODSon[line.com] Wiki - Beta 1.0

SOF2: Making a *.shader file

From MODSonline Wiki

Jump to: navigation, search

First you must add your new *.shader file into the already exsisting shaderlist.txt, located in \base\shaders. Open shaderlist.txt with Wordpad, instead of notepad, since it better supports return symbols (U+23CE).

Then create your *.shader, which is just a plain *.txt file with a differant extension.

//Shader Name

{

//General Shader Keywords

//Q3Map2 Specific Shader Keywords

//Q3Map2 Specific Surface Parameter Shader Keywords

//Editor Specific Shader Keywords

} //Stage Specific Shader Keywords

{


}


For example:

Personal tools