You copied the Doc URL to your clipboard.

4.3.2. Shader Configuration editor

The Shader Configuration editor provides a method for editing a shader configuration file.

For more information about using the Shader Configuration Editor, see Creating a new Shader Configuration File.

Current Effect

The current shader effect is shown in the Current Shader Effect drop-down list. To select a different effect, select it from the list. The other fields in the editor reflect the contents of the currently selected effect.

Add New Effect

Creates a new, empty shader effect. A dialog box prompts for a name for the shader effect. Clicking OK creates the effect and causes the editor to switch to this effect

Rename Effect

Renames the currently selected shader effect. A dialog box prompts for a new name. Clicking OK renames the effect.

Remove Effect

Removes the shader effect from the configuration.

Vertex Shaders section

The vertex shaders section lists all the shader source files that make up the vertex part of the shader effect. It is valid to put a non-specific shader, one that is neither a vertex nor a fragment shader, in this list. But, be aware that the shader is compiled and checked for errors as a vertex shader by the offline compiler. Ordering of source files might be important to the functionality of the shader effect, so buttons are provided to re-order the list.

New Shader

Create a shader with the default shader code and adds it to the list.

Add Shader

Add an existing shader source file to the list. The source file must belong to the current project.

Remove Shader

Remove the selected shader source file from the list.

Move Up

Move the selected shader source file up one position. The shader sources are passed to the compiler in the order they appear in the list.

Move Down

Move the selected shader source file down one position. The shader sources are passed to the compiler in the order they appear in the list.

Fragment Shaders section

The fragment shaders section lists all the shader source files that make up the fragment part of the shader effect.

Note

It is valid to put a non-specific shader, one that is neither a vertex nor fragment shader, in this list. But, be aware that the shader is compiled and checked for errors as a fragment shader by the offline compiler. Ordering of source files might be important to the functionality of the shader effect, so buttons are provided to re-order the list.

New Shader

Create a shader with the default shader code and adds it to the list.

Add Shader

Add an existing shader source file to the list. The source file must belong to the current project.

Remove Shader

Remove the selected shader source file from the list.

Move Up

Move the selected shader source file up one position. The shader sources are passed to the compiler in the order they appear in the list.

Move Down

Move the selected shader source file down one position. The shader sources are passed to the compiler in the order they appear in the list.

Was this page helpful? Yes No