1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
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 rel="stylesheet" href="../css/manpage.css" type="text/css" />
7<title>PicaDataFragLightEnvLutInput</title>
8  </head>
9  <body>
10<h1><CODE>PicaDataFragLightEnvLutInput</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum PicaDataFragLightEnvLutInput;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th>PICA_DATA_FRAG_LIGHT_ENV_NH_DMP</th>
28<td>The cosine of the angle between the normal and the half vector.</td>
29        </tr>
30        <tr>
31<th>PICA_DATA_FRAG_LIGHT_ENV_VH_DMP</th>
32<td>The cosine of the angle between the line of sight and the half vector.</td>
33        </tr>
34        <tr>
35<th>PICA_DATA_FRAG_LIGHT_ENV_NV_DMP</th>
36<td>The cosine of the angle between the normal and the line of sight.</td>
37        </tr>
38        <tr>
39<th>PICA_DATA_FRAG_LIGHT_ENV_LN_DMP</th>
40<td>The cosine of the angle between the light vector and the normal.</td>
41        </tr>
42        <tr>
43<th>PICA_DATA_FRAG_LIGHT_ENV_SP_DMP</th>
44<td>The cosine of the angle between the reciprocal vector of the light vector and the spotlight's directional vector.</td>
45        </tr>
46        <tr>
47<th>PICA_DATA_FRAG_LIGHT_ENV_CP_DMP</th>
48<td>The cosine of the angle between the projection of the half vector of the tangent plane and the tangent.</td>
49        </tr>
50      </table> </div>
51<h2>Description</h2>
52    <div class="section">
53<p>Used for the <CODE>PICA_REG_FRAG_LIGHT_LUTINPUT</CODE> register (<CODE>0x1d1</CODE>), which is used for setting lookup table entries. This corresponds to setting the <CODE>dmp_LightEnv.lutInput*</CODE> uniform.</p><!-- write here --></div>
54<h2>Revision History</h2>
55    <div class="section">
56      <dl class="history">
57        <dt>2010/09/27</dt>
58<dd>Initial version.<br />
59        </dd>
60      </dl>
61    </div>
62  <hr><p>CONFIDENTIAL</p></body>
63</html>