1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<link href="../../../../html/common/main.css" rel="stylesheet" type="text/css" />
7<title>Vertex Shader</title>
8</head>
9<body>
10<h1>Vertex Shader</h1>
11<p>You can configure the vertex shader used by a material here. </p>
12<p class="image"><img src="images/vertex_light_shader.png" alt="Material Vertex Shader Properties" /></p>
13<ol class="ui">
14  <li>Lighting<BR>Enables/disables vertex lighting and hemispherical lighting using the checkboxes.<BR> If hemispherical lighting is used, a checkbox for the vertex color alpha value is also provided.</li>
15  <li>The vertex color scale can be changed by entering numeric values directly or using the <a href="../../other/slider_window.html">slider window</a>.</li>
16  <li>Shader management<BR>Select which shader to use from the pull-down menu.<br /></li>
17  <li>If there is more than one shader parameter, you can move up and down the selected shader parameters in the list.</li>
18  <li>Add<BR>Adds a new shader parameter.<BR> Press Add opens a <a href="#shader_parameters">shader parameter input dialog</a>, where you can set the parameter type to be added and set the vector based on the selected type.</li>
19  <li>Delete<br />Deletes the selected shader parameter.</li>
20  <li>Edit<br />Allows you to edit the selected shader parameter.<BR> Pressing Edit opens the <a href="#shader_parameters">shader parameter input dialog</a>, where you can edit shader parameters.</li>
21  <li>This window displays a list of user-defined shader parameters that have been added.</li>
22</ol>
23<p><a name="shader_parameters" id="shader_parameters"></a></p>
24<h2>Shader Parameter Input Dialog</h2>
25<p>This dialog opens if you press the Edit button or Add button for adding user-defined shader parameters. </p>
26<p class="image"><img src="images/shader_parameters.png" alt="Shader Parameter Input Properties" /></p>
27<ol class="ui">
28  <li>Change name and type<BR>This item is displayed <strong>only when Edit has been pressed.</strong> This allows you to edit the name and type of shader parameters already added.</li>
29  <li>Enter the name of the user-defined shader parameter.</li>
30  <li>Select the shader parameter type using the radio buttons.</li>
31  <li>Boolean<BR>This item can only be set when boolean has been selected as the shader parameter type used by the material.<BR> Select <B>true</B> or <B>false</B>.</li>
32  <li>Vectors for each dimension can be set under shader parameters if a type other than boolean is set.<BR> If boolean has been set, this item is grayed out and cannot be selected.</li>
33</ol>
34<hr><p>CONFIDENTIAL</p></body>
35</html>
36