1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
3 | <title>Indirect Environment Mapping: EnvMap.fx File Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | </head><body> |
---|
6 | <!-- Generated by Doxygen 1.4.2 --> |
---|
7 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
8 | <h1>EnvMap.fx File Reference</h1><table border="0" cellpadding="0" cellspacing="0"> |
---|
9 | <tr><td></td></tr> |
---|
10 | <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
---|
11 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a0">CUBEMAP_SIZE</a> 128</td></tr> |
---|
12 | |
---|
13 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of the cube map taken from the reference point of the object <a href="#a0"></a><br></td></tr> |
---|
14 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a1">PI</a> 3.14159f</td></tr> |
---|
15 | |
---|
16 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a2">_ReduceTexturePS</a>(M)</td></tr> |
---|
17 | |
---|
18 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Downsamples a cube map face. <a href="#a2"></a><br></td></tr> |
---|
19 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a3">_ConvolutionPS</a>(M)</td></tr> |
---|
20 | |
---|
21 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Convolves the values of a cube map of resoultion MxM. <a href="#a3"></a><br></td></tr> |
---|
22 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a4">_EnvMapDiffuseLocalizedPS</a>(M)</td></tr> |
---|
23 | |
---|
24 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates diffuse or specular contributions of all texels in <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the current point. For each texel of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a>, function <a class="el" href="_env_map_8fx.html#a44">GetContr(int,float3,float3,float3,float3)</a> is called. <a href="#a4"></a><br></td></tr> |
---|
25 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a5">TechniqueUsingCommonVS</a>(name)</td></tr> |
---|
26 | |
---|
27 | <tr><td class="mdescLeft"> </td><td class="mdescRight">a helpful macro to define techniques with a common vertex program <a href="#a5"></a><br></td></tr> |
---|
28 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a6">ReduceTextureTechnique</a>(M)</td></tr> |
---|
29 | |
---|
30 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a7">ConvolutionTechnique</a>(M)</td></tr> |
---|
31 | |
---|
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a8">Technique</a>(name)</td></tr> |
---|
33 | |
---|
34 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a31">ReduceTextureVS</a> (float4 position:POSITION, float4 color0:COLOR0, float3 Normal:NORMAL, float2 Tex:TEXCOORD0, out float4 hposition:POSITION, out float4 color:COLOR0, out float2 oTex:TEXCOORD0, out float4 pos:TEXCOORD1)</td></tr> |
---|
36 | |
---|
37 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a32">_ReduceTexturePS</a> (2)</td></tr> |
---|
38 | |
---|
39 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a33">_ReduceTexturePS</a> (4)</td></tr> |
---|
40 | |
---|
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a34">_ReduceTexturePS</a> (8)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a35">_ReduceTexturePS</a> (16)</td></tr> |
---|
44 | |
---|
45 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a36">GetContr</a> (float3 q, float3 L)</td></tr> |
---|
46 | |
---|
47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the precalculated contribution of a texel with regard to the specified query direction. <a href="#a36"></a><br></td></tr> |
---|
48 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct___convolution_v_s__output.html">_ConvolutionVS_output</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a37">ConvolutionVS</a> (<a class="el" href="struct___convolution_v_s__input.html">_ConvolutionVS_input</a> IN)</td></tr> |
---|
49 | |
---|
50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a38">_ConvolutionPS</a> (2)</td></tr> |
---|
51 | |
---|
52 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a39">_ConvolutionPS</a> (4)</td></tr> |
---|
53 | |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a40">_ConvolutionPS</a> (8)</td></tr> |
---|
55 | |
---|
56 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a41">_ConvolutionPS</a> (16)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a42">EnvMapVS</a> (<a class="el" href="struct___env_map_v_s__input.html">_EnvMapVS_input</a> IN)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a43">EnvMapDiffuseClassicPS</a> (<a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> IN)</td></tr> |
---|
61 | |
---|
62 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines diffuse or specular illumination with a single lookup into <a class="el" href="_env_map_8fx.html#a25">PreconvolvedEnvironmentMap</a>. <a href="#a43"></a><br></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a44">GetContr</a> (int M, float3 L, float3 pos, float3 N, float3 V)</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the contribution of a single texel of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the illumination of the shaded point. To compute reflectivity, precalculated integral values are used. <a href="#a44"></a><br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a45">_EnvMapDiffuseLocalizedPS</a> (2)</td></tr> |
---|
67 | |
---|
68 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a46">_EnvMapDiffuseLocalizedPS</a> (4)</td></tr> |
---|
69 | |
---|
70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a47">_EnvMapDiffuseLocalizedPS</a> (8)</td></tr> |
---|
71 | |
---|
72 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a48">_EnvMapDiffuseLocalizedPS</a> (16)</td></tr> |
---|
73 | |
---|
74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a49">EnvMapDiffuseLocalized5TexPS</a> (<a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> IN)</td></tr> |
---|
75 | |
---|
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates diffuse or specular contributions of the 5 "most important" texels of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the current point. For these texels, function <a class="el" href="_env_map_8fx.html#a44">GetContr(int,float3,float3,float3,float3)</a> is called. <a href="#a49"></a><br></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct___illuminated_scene_v_s__output.html">_IlluminatedSceneVS_output</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a50">IlluminatedSceneVS</a> (<a class="el" href="struct___illuminated_scene_v_s__input.html">_IlluminatedSceneVS_input</a> IN)</td></tr> |
---|
78 | |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a51">IlluminatedScenePS</a> (<a class="el" href="struct___illuminated_scene_v_s__output.html">_IlluminatedSceneVS_output</a> IN)</td></tr> |
---|
80 | |
---|
81 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Displays the environment with a simple shading. <a href="#a51"></a><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a52">TechniqueUsingCommonVS</a> (EnvMapDiffuseClassic)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a53">TechniqueUsingCommonVS</a> (EnvMapDiffuseLocalized5Tex)</td></tr> |
---|
85 | |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a54">TechniqueUsingCommonVS</a> (EnvMapDiffuseLocalized2)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a55">TechniqueUsingCommonVS</a> (EnvMapDiffuseLocalized4)</td></tr> |
---|
89 | |
---|
90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a56">TechniqueUsingCommonVS</a> (EnvMapDiffuseLocalized8)</td></tr> |
---|
91 | |
---|
92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a57">TechniqueUsingCommonVS</a> (EnvMapDiffuseLocalized16)</td></tr> |
---|
93 | |
---|
94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a58">ReduceTextureTechnique</a> (2)</td></tr> |
---|
95 | |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a59">ReduceTextureTechnique</a> (4)</td></tr> |
---|
97 | |
---|
98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a60">ReduceTextureTechnique</a> (8)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a61">ReduceTextureTechnique</a> (16)</td></tr> |
---|
101 | |
---|
102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a62">ConvolutionTechnique</a> (2)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a63">ConvolutionTechnique</a> (4)</td></tr> |
---|
105 | |
---|
106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a64">ConvolutionTechnique</a> (8)</td></tr> |
---|
107 | |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a65">ConvolutionTechnique</a> (16)</td></tr> |
---|
109 | |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a66">Technique</a> (IlluminatedScene)</td></tr> |
---|
111 | |
---|
112 | <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a9">LR_CUBEMAP_SIZE</a></td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of the cube map for diffuse/glossy reflections <a href="#a9"></a><br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a10">World</a></td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">World matrix for the current object. <a href="#a10"></a><br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a11">WorldIT</a></td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">World matrix IT (inverse transposed) to transform surface normals of the current object. <a href="#a11"></a><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a12">WorldView</a></td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">World * View matrix. <a href="#a12"></a><br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4x4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a13">WorldViewProjection</a></td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">World * View * Projection matrix. <a href="#a13"></a><br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a14">texel_size</a></td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">upload this constant every time the viewport changes <a href="#a14"></a><br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a15">eyePos</a></td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">current eye (camera) position <a href="#a15"></a><br></td></tr> |
---|
134 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a16">reference_pos</a></td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reference point for the last cube map generation. <a href="#a16"></a><br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a17">nFace</a></td></tr> |
---|
138 | |
---|
139 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a18">iShowCubeMap</a></td></tr> |
---|
140 | |
---|
141 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float4 </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a19">objColor</a></td></tr> |
---|
142 | |
---|
143 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a20">intensity</a></td></tr> |
---|
144 | |
---|
145 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a21">shininess</a></td></tr> |
---|
146 | |
---|
147 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a22">brightness</a></td></tr> |
---|
148 | |
---|
149 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a23">EnvironmentMap</a></td></tr> |
---|
150 | |
---|
151 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a></td></tr> |
---|
152 | |
---|
153 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a25">PreconvolvedEnvironmentMap</a></td></tr> |
---|
154 | |
---|
155 | <tr><td class="memItemLeft" nowrap align="right" valign="top">texture </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a26">Decoration</a></td></tr> |
---|
156 | |
---|
157 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a27">EnvironmentMapSampler</a></td></tr> |
---|
158 | |
---|
159 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a28">PreconvolvedEnvironmentMapSampler</a></td></tr> |
---|
160 | |
---|
161 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a29">SmallEnvironmentMapSampler</a></td></tr> |
---|
162 | |
---|
163 | <tr><td class="memItemLeft" nowrap align="right" valign="top">sampler </td><td class="memItemRight" valign="bottom"><a class="el" href="_env_map_8fx.html#a30">DecorationSampler</a></td></tr> |
---|
164 | |
---|
165 | </table> |
---|
166 | <hr><h2>Define Documentation</h2> |
---|
167 | <a class="anchor" name="a3" doxytag="EnvMap.fx::_ConvolutionPS"></a><p> |
---|
168 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
169 | <tr> |
---|
170 | <td class="mdRow"> |
---|
171 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
172 | <tr> |
---|
173 | <td class="md" nowrap valign="top">#define _ConvolutionPS </td> |
---|
174 | <td class="md" valign="top">( </td> |
---|
175 | <td class="md" nowrap valign="top">M </td> |
---|
176 | <td class="mdname1" valign="top" nowrap> </td> |
---|
177 | <td class="md" valign="top"> ) </td> |
---|
178 | <td class="md" nowrap></td> |
---|
179 | </tr> |
---|
180 | </table> |
---|
181 | </td> |
---|
182 | </tr> |
---|
183 | </table> |
---|
184 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
185 | <tr> |
---|
186 | <td> |
---|
187 | |
---|
188 | </td> |
---|
189 | <td> |
---|
190 | |
---|
191 | <p> |
---|
192 | Convolves the values of a cube map of resoultion MxM. |
---|
193 | <p> |
---|
194 | Calculates the diffuse/specular irradiance map of resolution <a class="el" href="_env_map_8fx.html#a9">LR_CUBEMAP_SIZE</a> by summing up the contributions of all cube map texels with regard to the current query direction. </td> |
---|
195 | </tr> |
---|
196 | </table> |
---|
197 | <a class="anchor" name="a4" doxytag="EnvMap.fx::_EnvMapDiffuseLocalizedPS"></a><p> |
---|
198 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
199 | <tr> |
---|
200 | <td class="mdRow"> |
---|
201 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
202 | <tr> |
---|
203 | <td class="md" nowrap valign="top">#define _EnvMapDiffuseLocalizedPS </td> |
---|
204 | <td class="md" valign="top">( </td> |
---|
205 | <td class="md" nowrap valign="top">M </td> |
---|
206 | <td class="mdname1" valign="top" nowrap> </td> |
---|
207 | <td class="md" valign="top"> ) </td> |
---|
208 | <td class="md" nowrap></td> |
---|
209 | </tr> |
---|
210 | </table> |
---|
211 | </td> |
---|
212 | </tr> |
---|
213 | </table> |
---|
214 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
215 | <tr> |
---|
216 | <td> |
---|
217 | |
---|
218 | </td> |
---|
219 | <td> |
---|
220 | |
---|
221 | <p> |
---|
222 | <b>Value:</b><div class="fragment"><pre class="fragment">float4 EnvMapDiffuseLocalized##<a class="code" href="_env_map_8cpp.html#a15">M</a>##PS( <a class="code" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> IN ) : COLOR \ |
---|
223 | { \ |
---|
224 | IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> = -normalize( IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
225 | IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a> = normalize( IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a> ); \ |
---|
226 | IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a> -= <a class="code" href="_env_map_8fx.html#a16">reference_pos</a>.xyz; <span class="comment">/* relative to the ref.point */</span> \ |
---|
227 | \ |
---|
228 | float3 R = -reflect( IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a> ); <span class="comment">/* reflection direction */</span> \ |
---|
229 | \ |
---|
230 | float4 I = 0; \ |
---|
231 | \ |
---|
232 | <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x = 0; x < <a class="code" href="_env_map_8cpp.html#a15">M</a>; x++) <span class="comment">/* foreach texel */</span> \ |
---|
233 | <span class="keywordflow">for</span> (<span class="keywordtype">int</span> y = 0; y < <a class="code" href="_env_map_8cpp.html#a15">M</a>; y++) \ |
---|
234 | { \ |
---|
235 | <span class="comment">/* compute intensity for 6 texels with equal solid angles */</span> \ |
---|
236 | \ |
---|
237 | float2 tpos = float2( (x+0.5f)/<a class="code" href="_env_map_8cpp.html#a15">M</a>, (y+0.5f)/<a class="code" href="_env_map_8cpp.html#a15">M</a> ); <span class="comment">/* texture coord (0..1) */</span> \ |
---|
238 | \ |
---|
239 | float2 p = float2(tpos.x, 1-tpos.y); \ |
---|
240 | p.xy = 2*p.xy - 1; <span class="comment">/* position (-1..1) */</span> \ |
---|
241 | \ |
---|
242 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(p.x, p.y, 1), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
243 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(p.x, p.y, -1), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
244 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(p.x, 1, p.y), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
245 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(p.x, -1, p.y), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
246 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(1, p.x, p.y), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
247 | I += <a class="code" href="_env_map_8fx.html#a36">GetContr</a>( <a class="code" href="_env_map_8cpp.html#a15">M</a>, float3(-1, p.x, p.y), IN.<a class="code" href="struct___env_map_v_s__output.html#o4">Position</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o2">Normal</a>, IN.<a class="code" href="struct___env_map_v_s__output.html#o3">View</a> ); \ |
---|
248 | } \ |
---|
249 | \ |
---|
250 | <span class="keywordflow">return</span> <a class="code" href="_env_map_8fx.html#a20">intensity</a> * I; \ |
---|
251 | } |
---|
252 | </pre></div>Calculates diffuse or specular contributions of all texels in <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the current point. For each texel of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a>, function <a class="el" href="_env_map_8fx.html#a44">GetContr(int,float3,float3,float3,float3)</a> is called. |
---|
253 | <p> |
---|
254 | </td> |
---|
255 | </tr> |
---|
256 | </table> |
---|
257 | <a class="anchor" name="a2" doxytag="EnvMap.fx::_ReduceTexturePS"></a><p> |
---|
258 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
259 | <tr> |
---|
260 | <td class="mdRow"> |
---|
261 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
262 | <tr> |
---|
263 | <td class="md" nowrap valign="top">#define _ReduceTexturePS </td> |
---|
264 | <td class="md" valign="top">( </td> |
---|
265 | <td class="md" nowrap valign="top">M </td> |
---|
266 | <td class="mdname1" valign="top" nowrap> </td> |
---|
267 | <td class="md" valign="top"> ) </td> |
---|
268 | <td class="md" nowrap></td> |
---|
269 | </tr> |
---|
270 | </table> |
---|
271 | </td> |
---|
272 | </tr> |
---|
273 | </table> |
---|
274 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
275 | <tr> |
---|
276 | <td> |
---|
277 | |
---|
278 | </td> |
---|
279 | <td> |
---|
280 | |
---|
281 | <p> |
---|
282 | <b>Value:</b><div class="fragment"><pre class="fragment">float4 ReduceTexture##<a class="code" href="_env_map_8cpp.html#a15">M</a>##PS( float2 Tex : TEXCOORD0, \ |
---|
283 | float4 pos : TEXCOORD1, \ |
---|
284 | float4 color0 : COLOR0 ) : COLOR0 \ |
---|
285 | { \ |
---|
286 | <span class="comment">/* offset to texel center */</span> \ |
---|
287 | pos.xy += float2(1/(<span class="keywordtype">float</span>)<a class="code" href="_env_map_8cpp.html#a14">CUBEMAP_SIZE</a>, -1/(<span class="keywordtype">float</span>)CUBEMAP_SIZE); \ |
---|
288 | <span class="comment">/* transform position into texture coord */</span> \ |
---|
289 | float2 tpos = pos.xy/2+0.5; <span class="comment">/* rescale from -1..1 into range 0..1 */</span> \ |
---|
290 | tpos.y = 1-tpos.y; \ |
---|
291 | \ |
---|
292 | float2 t; \ |
---|
293 | float4 color = 0; \ |
---|
294 | <span class="keyword">const</span> <span class="keywordtype">int</span> RATE = CUBEMAP_SIZE / <a class="code" href="_env_map_8cpp.html#a15">M</a>; \ |
---|
295 | \ |
---|
296 | <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < RATE; i++) \ |
---|
297 | <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < RATE; j++) \ |
---|
298 | { \ |
---|
299 | t.x = tpos.x + i/(float)CUBEMAP_SIZE; \ |
---|
300 | t.y = tpos.y + j/(float)CUBEMAP_SIZE; \ |
---|
301 | color += tex2D(<a class="code" href="_env_map_8fx.html#a30">DecorationSampler</a>, t) / (RATE * RATE); \ |
---|
302 | } \ |
---|
303 | <span class="keywordflow">return</span> color; \ |
---|
304 | } |
---|
305 | </pre></div>Downsamples a cube map face. |
---|
306 | <p> |
---|
307 | </td> |
---|
308 | </tr> |
---|
309 | </table> |
---|
310 | <a class="anchor" name="a7" doxytag="EnvMap.fx::ConvolutionTechnique"></a><p> |
---|
311 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
312 | <tr> |
---|
313 | <td class="mdRow"> |
---|
314 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
315 | <tr> |
---|
316 | <td class="md" nowrap valign="top">#define ConvolutionTechnique </td> |
---|
317 | <td class="md" valign="top">( </td> |
---|
318 | <td class="md" nowrap valign="top">M </td> |
---|
319 | <td class="mdname1" valign="top" nowrap> </td> |
---|
320 | <td class="md" valign="top"> ) </td> |
---|
321 | <td class="md" nowrap></td> |
---|
322 | </tr> |
---|
323 | </table> |
---|
324 | </td> |
---|
325 | </tr> |
---|
326 | </table> |
---|
327 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
328 | <tr> |
---|
329 | <td> |
---|
330 | |
---|
331 | </td> |
---|
332 | <td> |
---|
333 | |
---|
334 | <p> |
---|
335 | <b>Value:</b><div class="fragment"><pre class="fragment">; \ |
---|
336 | technique Convolution##<a class="code" href="_env_map_8cpp.html#a15">M</a> \ |
---|
337 | { \ |
---|
338 | pass p0 \ |
---|
339 | { \ |
---|
340 | VertexShader = compile vs_3_0 <a class="code" href="_env_map_8fx.html#a37">ConvolutionVS</a>(); \ |
---|
341 | PixelShader = compile ps_3_0 Convolution##<a class="code" href="_env_map_8cpp.html#a15">M</a>##PS(); \ |
---|
342 | } \ |
---|
343 | } |
---|
344 | </pre></div> </td> |
---|
345 | </tr> |
---|
346 | </table> |
---|
347 | <a class="anchor" name="a0" doxytag="EnvMap.fx::CUBEMAP_SIZE"></a><p> |
---|
348 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
349 | <tr> |
---|
350 | <td class="mdRow"> |
---|
351 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
352 | <tr> |
---|
353 | <td class="md" nowrap valign="top">#define CUBEMAP_SIZE 128 </td> |
---|
354 | </tr> |
---|
355 | </table> |
---|
356 | </td> |
---|
357 | </tr> |
---|
358 | </table> |
---|
359 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
360 | <tr> |
---|
361 | <td> |
---|
362 | |
---|
363 | </td> |
---|
364 | <td> |
---|
365 | |
---|
366 | <p> |
---|
367 | size of the cube map taken from the reference point of the object |
---|
368 | <p> |
---|
369 | </td> |
---|
370 | </tr> |
---|
371 | </table> |
---|
372 | <a class="anchor" name="a1" doxytag="EnvMap.fx::PI"></a><p> |
---|
373 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
374 | <tr> |
---|
375 | <td class="mdRow"> |
---|
376 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
377 | <tr> |
---|
378 | <td class="md" nowrap valign="top">#define PI 3.14159f </td> |
---|
379 | </tr> |
---|
380 | </table> |
---|
381 | </td> |
---|
382 | </tr> |
---|
383 | </table> |
---|
384 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
385 | <tr> |
---|
386 | <td> |
---|
387 | |
---|
388 | </td> |
---|
389 | <td> |
---|
390 | |
---|
391 | <p> |
---|
392 | </td> |
---|
393 | </tr> |
---|
394 | </table> |
---|
395 | <a class="anchor" name="a6" doxytag="EnvMap.fx::ReduceTextureTechnique"></a><p> |
---|
396 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
397 | <tr> |
---|
398 | <td class="mdRow"> |
---|
399 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
400 | <tr> |
---|
401 | <td class="md" nowrap valign="top">#define ReduceTextureTechnique </td> |
---|
402 | <td class="md" valign="top">( </td> |
---|
403 | <td class="md" nowrap valign="top">M </td> |
---|
404 | <td class="mdname1" valign="top" nowrap> </td> |
---|
405 | <td class="md" valign="top"> ) </td> |
---|
406 | <td class="md" nowrap></td> |
---|
407 | </tr> |
---|
408 | </table> |
---|
409 | </td> |
---|
410 | </tr> |
---|
411 | </table> |
---|
412 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
413 | <tr> |
---|
414 | <td> |
---|
415 | |
---|
416 | </td> |
---|
417 | <td> |
---|
418 | |
---|
419 | <p> |
---|
420 | <b>Value:</b><div class="fragment"><pre class="fragment">; \ |
---|
421 | technique ReduceTexture##<a class="code" href="_env_map_8cpp.html#a15">M</a> \ |
---|
422 | { \ |
---|
423 | pass p0 \ |
---|
424 | { \ |
---|
425 | VertexShader = compile vs_3_0 <a class="code" href="_env_map_8fx.html#a31">ReduceTextureVS</a>(); \ |
---|
426 | PixelShader = compile ps_3_0 ReduceTexture##<a class="code" href="_env_map_8cpp.html#a15">M</a>##PS(); \ |
---|
427 | } \ |
---|
428 | } |
---|
429 | </pre></div> </td> |
---|
430 | </tr> |
---|
431 | </table> |
---|
432 | <a class="anchor" name="a8" doxytag="EnvMap.fx::Technique"></a><p> |
---|
433 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
434 | <tr> |
---|
435 | <td class="mdRow"> |
---|
436 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
437 | <tr> |
---|
438 | <td class="md" nowrap valign="top">#define Technique </td> |
---|
439 | <td class="md" valign="top">( </td> |
---|
440 | <td class="md" nowrap valign="top">name </td> |
---|
441 | <td class="mdname1" valign="top" nowrap> </td> |
---|
442 | <td class="md" valign="top"> ) </td> |
---|
443 | <td class="md" nowrap></td> |
---|
444 | </tr> |
---|
445 | </table> |
---|
446 | </td> |
---|
447 | </tr> |
---|
448 | </table> |
---|
449 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
450 | <tr> |
---|
451 | <td> |
---|
452 | |
---|
453 | </td> |
---|
454 | <td> |
---|
455 | |
---|
456 | <p> |
---|
457 | <b>Value:</b><div class="fragment"><pre class="fragment">; \ |
---|
458 | technique name \ |
---|
459 | { \ |
---|
460 | pass p0 \ |
---|
461 | { \ |
---|
462 | VertexShader = compile vs_3_0 name##VS(); \ |
---|
463 | PixelShader = compile ps_3_0 name##PS(); \ |
---|
464 | } \ |
---|
465 | } |
---|
466 | </pre></div>a helpful macro to define techniques where the name of EnvMapVS program is <techniquename>VS and the name of PS program is <techniquename>PS </td> |
---|
467 | </tr> |
---|
468 | </table> |
---|
469 | <a class="anchor" name="a5" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
470 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
471 | <tr> |
---|
472 | <td class="mdRow"> |
---|
473 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
474 | <tr> |
---|
475 | <td class="md" nowrap valign="top">#define TechniqueUsingCommonVS </td> |
---|
476 | <td class="md" valign="top">( </td> |
---|
477 | <td class="md" nowrap valign="top">name </td> |
---|
478 | <td class="mdname1" valign="top" nowrap> </td> |
---|
479 | <td class="md" valign="top"> ) </td> |
---|
480 | <td class="md" nowrap></td> |
---|
481 | </tr> |
---|
482 | </table> |
---|
483 | </td> |
---|
484 | </tr> |
---|
485 | </table> |
---|
486 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
487 | <tr> |
---|
488 | <td> |
---|
489 | |
---|
490 | </td> |
---|
491 | <td> |
---|
492 | |
---|
493 | <p> |
---|
494 | <b>Value:</b><div class="fragment"><pre class="fragment">; \ |
---|
495 | technique name \ |
---|
496 | { \ |
---|
497 | pass p0 \ |
---|
498 | { \ |
---|
499 | VertexShader = compile vs_3_0 <a class="code" href="_env_map_8fx.html#a42">EnvMapVS</a>(); \ |
---|
500 | PixelShader = compile ps_3_0 name##PS(); \ |
---|
501 | } \ |
---|
502 | } |
---|
503 | </pre></div>a helpful macro to define techniques with a common vertex program |
---|
504 | <p> |
---|
505 | </td> |
---|
506 | </tr> |
---|
507 | </table> |
---|
508 | <hr><h2>Function Documentation</h2> |
---|
509 | <a class="anchor" name="a41" doxytag="EnvMap.fx::_ConvolutionPS"></a><p> |
---|
510 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
511 | <tr> |
---|
512 | <td class="mdRow"> |
---|
513 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
514 | <tr> |
---|
515 | <td class="md" nowrap valign="top">_ConvolutionPS </td> |
---|
516 | <td class="md" valign="top">( </td> |
---|
517 | <td class="md" nowrap valign="top">16 </td> |
---|
518 | <td class="mdname1" valign="top" nowrap> </td> |
---|
519 | <td class="md" valign="top"> ) </td> |
---|
520 | <td class="md" nowrap></td> |
---|
521 | </tr> |
---|
522 | </table> |
---|
523 | </td> |
---|
524 | </tr> |
---|
525 | </table> |
---|
526 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
527 | <tr> |
---|
528 | <td> |
---|
529 | |
---|
530 | </td> |
---|
531 | <td> |
---|
532 | |
---|
533 | <p> |
---|
534 | </td> |
---|
535 | </tr> |
---|
536 | </table> |
---|
537 | <a class="anchor" name="a40" doxytag="EnvMap.fx::_ConvolutionPS"></a><p> |
---|
538 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
539 | <tr> |
---|
540 | <td class="mdRow"> |
---|
541 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
542 | <tr> |
---|
543 | <td class="md" nowrap valign="top">_ConvolutionPS </td> |
---|
544 | <td class="md" valign="top">( </td> |
---|
545 | <td class="md" nowrap valign="top">8 </td> |
---|
546 | <td class="mdname1" valign="top" nowrap> </td> |
---|
547 | <td class="md" valign="top"> ) </td> |
---|
548 | <td class="md" nowrap></td> |
---|
549 | </tr> |
---|
550 | </table> |
---|
551 | </td> |
---|
552 | </tr> |
---|
553 | </table> |
---|
554 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
555 | <tr> |
---|
556 | <td> |
---|
557 | |
---|
558 | </td> |
---|
559 | <td> |
---|
560 | |
---|
561 | <p> |
---|
562 | </td> |
---|
563 | </tr> |
---|
564 | </table> |
---|
565 | <a class="anchor" name="a39" doxytag="EnvMap.fx::_ConvolutionPS"></a><p> |
---|
566 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
567 | <tr> |
---|
568 | <td class="mdRow"> |
---|
569 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
570 | <tr> |
---|
571 | <td class="md" nowrap valign="top">_ConvolutionPS </td> |
---|
572 | <td class="md" valign="top">( </td> |
---|
573 | <td class="md" nowrap valign="top">4 </td> |
---|
574 | <td class="mdname1" valign="top" nowrap> </td> |
---|
575 | <td class="md" valign="top"> ) </td> |
---|
576 | <td class="md" nowrap></td> |
---|
577 | </tr> |
---|
578 | </table> |
---|
579 | </td> |
---|
580 | </tr> |
---|
581 | </table> |
---|
582 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
583 | <tr> |
---|
584 | <td> |
---|
585 | |
---|
586 | </td> |
---|
587 | <td> |
---|
588 | |
---|
589 | <p> |
---|
590 | </td> |
---|
591 | </tr> |
---|
592 | </table> |
---|
593 | <a class="anchor" name="a38" doxytag="EnvMap.fx::_ConvolutionPS"></a><p> |
---|
594 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
595 | <tr> |
---|
596 | <td class="mdRow"> |
---|
597 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
598 | <tr> |
---|
599 | <td class="md" nowrap valign="top">_ConvolutionPS </td> |
---|
600 | <td class="md" valign="top">( </td> |
---|
601 | <td class="md" nowrap valign="top">2 </td> |
---|
602 | <td class="mdname1" valign="top" nowrap> </td> |
---|
603 | <td class="md" valign="top"> ) </td> |
---|
604 | <td class="md" nowrap></td> |
---|
605 | </tr> |
---|
606 | </table> |
---|
607 | </td> |
---|
608 | </tr> |
---|
609 | </table> |
---|
610 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
611 | <tr> |
---|
612 | <td> |
---|
613 | |
---|
614 | </td> |
---|
615 | <td> |
---|
616 | |
---|
617 | <p> |
---|
618 | </td> |
---|
619 | </tr> |
---|
620 | </table> |
---|
621 | <a class="anchor" name="a48" doxytag="EnvMap.fx::_EnvMapDiffuseLocalizedPS"></a><p> |
---|
622 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
623 | <tr> |
---|
624 | <td class="mdRow"> |
---|
625 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
626 | <tr> |
---|
627 | <td class="md" nowrap valign="top">_EnvMapDiffuseLocalizedPS </td> |
---|
628 | <td class="md" valign="top">( </td> |
---|
629 | <td class="md" nowrap valign="top">16 </td> |
---|
630 | <td class="mdname1" valign="top" nowrap> </td> |
---|
631 | <td class="md" valign="top"> ) </td> |
---|
632 | <td class="md" nowrap></td> |
---|
633 | </tr> |
---|
634 | </table> |
---|
635 | </td> |
---|
636 | </tr> |
---|
637 | </table> |
---|
638 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
639 | <tr> |
---|
640 | <td> |
---|
641 | |
---|
642 | </td> |
---|
643 | <td> |
---|
644 | |
---|
645 | <p> |
---|
646 | </td> |
---|
647 | </tr> |
---|
648 | </table> |
---|
649 | <a class="anchor" name="a47" doxytag="EnvMap.fx::_EnvMapDiffuseLocalizedPS"></a><p> |
---|
650 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
651 | <tr> |
---|
652 | <td class="mdRow"> |
---|
653 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
654 | <tr> |
---|
655 | <td class="md" nowrap valign="top">_EnvMapDiffuseLocalizedPS </td> |
---|
656 | <td class="md" valign="top">( </td> |
---|
657 | <td class="md" nowrap valign="top">8 </td> |
---|
658 | <td class="mdname1" valign="top" nowrap> </td> |
---|
659 | <td class="md" valign="top"> ) </td> |
---|
660 | <td class="md" nowrap></td> |
---|
661 | </tr> |
---|
662 | </table> |
---|
663 | </td> |
---|
664 | </tr> |
---|
665 | </table> |
---|
666 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
667 | <tr> |
---|
668 | <td> |
---|
669 | |
---|
670 | </td> |
---|
671 | <td> |
---|
672 | |
---|
673 | <p> |
---|
674 | </td> |
---|
675 | </tr> |
---|
676 | </table> |
---|
677 | <a class="anchor" name="a46" doxytag="EnvMap.fx::_EnvMapDiffuseLocalizedPS"></a><p> |
---|
678 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
679 | <tr> |
---|
680 | <td class="mdRow"> |
---|
681 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
682 | <tr> |
---|
683 | <td class="md" nowrap valign="top">_EnvMapDiffuseLocalizedPS </td> |
---|
684 | <td class="md" valign="top">( </td> |
---|
685 | <td class="md" nowrap valign="top">4 </td> |
---|
686 | <td class="mdname1" valign="top" nowrap> </td> |
---|
687 | <td class="md" valign="top"> ) </td> |
---|
688 | <td class="md" nowrap></td> |
---|
689 | </tr> |
---|
690 | </table> |
---|
691 | </td> |
---|
692 | </tr> |
---|
693 | </table> |
---|
694 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
695 | <tr> |
---|
696 | <td> |
---|
697 | |
---|
698 | </td> |
---|
699 | <td> |
---|
700 | |
---|
701 | <p> |
---|
702 | </td> |
---|
703 | </tr> |
---|
704 | </table> |
---|
705 | <a class="anchor" name="a45" doxytag="EnvMap.fx::_EnvMapDiffuseLocalizedPS"></a><p> |
---|
706 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
707 | <tr> |
---|
708 | <td class="mdRow"> |
---|
709 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
710 | <tr> |
---|
711 | <td class="md" nowrap valign="top">_EnvMapDiffuseLocalizedPS </td> |
---|
712 | <td class="md" valign="top">( </td> |
---|
713 | <td class="md" nowrap valign="top">2 </td> |
---|
714 | <td class="mdname1" valign="top" nowrap> </td> |
---|
715 | <td class="md" valign="top"> ) </td> |
---|
716 | <td class="md" nowrap></td> |
---|
717 | </tr> |
---|
718 | </table> |
---|
719 | </td> |
---|
720 | </tr> |
---|
721 | </table> |
---|
722 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
723 | <tr> |
---|
724 | <td> |
---|
725 | |
---|
726 | </td> |
---|
727 | <td> |
---|
728 | |
---|
729 | <p> |
---|
730 | </td> |
---|
731 | </tr> |
---|
732 | </table> |
---|
733 | <a class="anchor" name="a35" doxytag="EnvMap.fx::_ReduceTexturePS"></a><p> |
---|
734 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
735 | <tr> |
---|
736 | <td class="mdRow"> |
---|
737 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
738 | <tr> |
---|
739 | <td class="md" nowrap valign="top">_ReduceTexturePS </td> |
---|
740 | <td class="md" valign="top">( </td> |
---|
741 | <td class="md" nowrap valign="top">16 </td> |
---|
742 | <td class="mdname1" valign="top" nowrap> </td> |
---|
743 | <td class="md" valign="top"> ) </td> |
---|
744 | <td class="md" nowrap></td> |
---|
745 | </tr> |
---|
746 | </table> |
---|
747 | </td> |
---|
748 | </tr> |
---|
749 | </table> |
---|
750 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
751 | <tr> |
---|
752 | <td> |
---|
753 | |
---|
754 | </td> |
---|
755 | <td> |
---|
756 | |
---|
757 | <p> |
---|
758 | </td> |
---|
759 | </tr> |
---|
760 | </table> |
---|
761 | <a class="anchor" name="a34" doxytag="EnvMap.fx::_ReduceTexturePS"></a><p> |
---|
762 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
763 | <tr> |
---|
764 | <td class="mdRow"> |
---|
765 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
766 | <tr> |
---|
767 | <td class="md" nowrap valign="top">_ReduceTexturePS </td> |
---|
768 | <td class="md" valign="top">( </td> |
---|
769 | <td class="md" nowrap valign="top">8 </td> |
---|
770 | <td class="mdname1" valign="top" nowrap> </td> |
---|
771 | <td class="md" valign="top"> ) </td> |
---|
772 | <td class="md" nowrap></td> |
---|
773 | </tr> |
---|
774 | </table> |
---|
775 | </td> |
---|
776 | </tr> |
---|
777 | </table> |
---|
778 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
779 | <tr> |
---|
780 | <td> |
---|
781 | |
---|
782 | </td> |
---|
783 | <td> |
---|
784 | |
---|
785 | <p> |
---|
786 | </td> |
---|
787 | </tr> |
---|
788 | </table> |
---|
789 | <a class="anchor" name="a33" doxytag="EnvMap.fx::_ReduceTexturePS"></a><p> |
---|
790 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
791 | <tr> |
---|
792 | <td class="mdRow"> |
---|
793 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
794 | <tr> |
---|
795 | <td class="md" nowrap valign="top">_ReduceTexturePS </td> |
---|
796 | <td class="md" valign="top">( </td> |
---|
797 | <td class="md" nowrap valign="top">4 </td> |
---|
798 | <td class="mdname1" valign="top" nowrap> </td> |
---|
799 | <td class="md" valign="top"> ) </td> |
---|
800 | <td class="md" nowrap></td> |
---|
801 | </tr> |
---|
802 | </table> |
---|
803 | </td> |
---|
804 | </tr> |
---|
805 | </table> |
---|
806 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
807 | <tr> |
---|
808 | <td> |
---|
809 | |
---|
810 | </td> |
---|
811 | <td> |
---|
812 | |
---|
813 | <p> |
---|
814 | </td> |
---|
815 | </tr> |
---|
816 | </table> |
---|
817 | <a class="anchor" name="a32" doxytag="EnvMap.fx::_ReduceTexturePS"></a><p> |
---|
818 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
819 | <tr> |
---|
820 | <td class="mdRow"> |
---|
821 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
822 | <tr> |
---|
823 | <td class="md" nowrap valign="top">_ReduceTexturePS </td> |
---|
824 | <td class="md" valign="top">( </td> |
---|
825 | <td class="md" nowrap valign="top">2 </td> |
---|
826 | <td class="mdname1" valign="top" nowrap> </td> |
---|
827 | <td class="md" valign="top"> ) </td> |
---|
828 | <td class="md" nowrap></td> |
---|
829 | </tr> |
---|
830 | </table> |
---|
831 | </td> |
---|
832 | </tr> |
---|
833 | </table> |
---|
834 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
835 | <tr> |
---|
836 | <td> |
---|
837 | |
---|
838 | </td> |
---|
839 | <td> |
---|
840 | |
---|
841 | <p> |
---|
842 | </td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | <a class="anchor" name="a65" doxytag="EnvMap.fx::ConvolutionTechnique"></a><p> |
---|
846 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
847 | <tr> |
---|
848 | <td class="mdRow"> |
---|
849 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
850 | <tr> |
---|
851 | <td class="md" nowrap valign="top">ConvolutionTechnique </td> |
---|
852 | <td class="md" valign="top">( </td> |
---|
853 | <td class="md" nowrap valign="top">16 </td> |
---|
854 | <td class="mdname1" valign="top" nowrap> </td> |
---|
855 | <td class="md" valign="top"> ) </td> |
---|
856 | <td class="md" nowrap></td> |
---|
857 | </tr> |
---|
858 | </table> |
---|
859 | </td> |
---|
860 | </tr> |
---|
861 | </table> |
---|
862 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
863 | <tr> |
---|
864 | <td> |
---|
865 | |
---|
866 | </td> |
---|
867 | <td> |
---|
868 | |
---|
869 | <p> |
---|
870 | </td> |
---|
871 | </tr> |
---|
872 | </table> |
---|
873 | <a class="anchor" name="a64" doxytag="EnvMap.fx::ConvolutionTechnique"></a><p> |
---|
874 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
875 | <tr> |
---|
876 | <td class="mdRow"> |
---|
877 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
878 | <tr> |
---|
879 | <td class="md" nowrap valign="top">ConvolutionTechnique </td> |
---|
880 | <td class="md" valign="top">( </td> |
---|
881 | <td class="md" nowrap valign="top">8 </td> |
---|
882 | <td class="mdname1" valign="top" nowrap> </td> |
---|
883 | <td class="md" valign="top"> ) </td> |
---|
884 | <td class="md" nowrap></td> |
---|
885 | </tr> |
---|
886 | </table> |
---|
887 | </td> |
---|
888 | </tr> |
---|
889 | </table> |
---|
890 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
891 | <tr> |
---|
892 | <td> |
---|
893 | |
---|
894 | </td> |
---|
895 | <td> |
---|
896 | |
---|
897 | <p> |
---|
898 | </td> |
---|
899 | </tr> |
---|
900 | </table> |
---|
901 | <a class="anchor" name="a63" doxytag="EnvMap.fx::ConvolutionTechnique"></a><p> |
---|
902 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
903 | <tr> |
---|
904 | <td class="mdRow"> |
---|
905 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
906 | <tr> |
---|
907 | <td class="md" nowrap valign="top">ConvolutionTechnique </td> |
---|
908 | <td class="md" valign="top">( </td> |
---|
909 | <td class="md" nowrap valign="top">4 </td> |
---|
910 | <td class="mdname1" valign="top" nowrap> </td> |
---|
911 | <td class="md" valign="top"> ) </td> |
---|
912 | <td class="md" nowrap></td> |
---|
913 | </tr> |
---|
914 | </table> |
---|
915 | </td> |
---|
916 | </tr> |
---|
917 | </table> |
---|
918 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
919 | <tr> |
---|
920 | <td> |
---|
921 | |
---|
922 | </td> |
---|
923 | <td> |
---|
924 | |
---|
925 | <p> |
---|
926 | </td> |
---|
927 | </tr> |
---|
928 | </table> |
---|
929 | <a class="anchor" name="a62" doxytag="EnvMap.fx::ConvolutionTechnique"></a><p> |
---|
930 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
931 | <tr> |
---|
932 | <td class="mdRow"> |
---|
933 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
934 | <tr> |
---|
935 | <td class="md" nowrap valign="top">ConvolutionTechnique </td> |
---|
936 | <td class="md" valign="top">( </td> |
---|
937 | <td class="md" nowrap valign="top">2 </td> |
---|
938 | <td class="mdname1" valign="top" nowrap> </td> |
---|
939 | <td class="md" valign="top"> ) </td> |
---|
940 | <td class="md" nowrap></td> |
---|
941 | </tr> |
---|
942 | </table> |
---|
943 | </td> |
---|
944 | </tr> |
---|
945 | </table> |
---|
946 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
947 | <tr> |
---|
948 | <td> |
---|
949 | |
---|
950 | </td> |
---|
951 | <td> |
---|
952 | |
---|
953 | <p> |
---|
954 | </td> |
---|
955 | </tr> |
---|
956 | </table> |
---|
957 | <a class="anchor" name="a37" doxytag="EnvMap.fx::ConvolutionVS"></a><p> |
---|
958 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
959 | <tr> |
---|
960 | <td class="mdRow"> |
---|
961 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
962 | <tr> |
---|
963 | <td class="md" nowrap valign="top"><a class="el" href="struct___convolution_v_s__output.html">_ConvolutionVS_output</a> ConvolutionVS </td> |
---|
964 | <td class="md" valign="top">( </td> |
---|
965 | <td class="md" nowrap valign="top"><a class="el" href="struct___convolution_v_s__input.html">_ConvolutionVS_input</a> </td> |
---|
966 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
967 | <td class="md" valign="top"> ) </td> |
---|
968 | <td class="md" nowrap></td> |
---|
969 | </tr> |
---|
970 | </table> |
---|
971 | </td> |
---|
972 | </tr> |
---|
973 | </table> |
---|
974 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
975 | <tr> |
---|
976 | <td> |
---|
977 | |
---|
978 | </td> |
---|
979 | <td> |
---|
980 | |
---|
981 | <p> |
---|
982 | </td> |
---|
983 | </tr> |
---|
984 | </table> |
---|
985 | <a class="anchor" name="a43" doxytag="EnvMap.fx::EnvMapDiffuseClassicPS"></a><p> |
---|
986 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
987 | <tr> |
---|
988 | <td class="mdRow"> |
---|
989 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
990 | <tr> |
---|
991 | <td class="md" nowrap valign="top">float4 EnvMapDiffuseClassicPS </td> |
---|
992 | <td class="md" valign="top">( </td> |
---|
993 | <td class="md" nowrap valign="top"><a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> </td> |
---|
994 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
995 | <td class="md" valign="top"> ) </td> |
---|
996 | <td class="md" nowrap></td> |
---|
997 | </tr> |
---|
998 | </table> |
---|
999 | </td> |
---|
1000 | </tr> |
---|
1001 | </table> |
---|
1002 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1003 | <tr> |
---|
1004 | <td> |
---|
1005 | |
---|
1006 | </td> |
---|
1007 | <td> |
---|
1008 | |
---|
1009 | <p> |
---|
1010 | Determines diffuse or specular illumination with a single lookup into <a class="el" href="_env_map_8fx.html#a25">PreconvolvedEnvironmentMap</a>. |
---|
1011 | <p> |
---|
1012 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1013 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1014 | <tr><td valign="top"></td><td valign="top"><em>PreconvolvedEnvironmentMap</em> </td><td>is bound to <a class="el" href="class_env_map.html#r6">EnvMap::pCubeTexturePreConvolved</a> (cube map of resolution <a class="el" href="_env_map_8fx.html#a9">LR_CUBEMAP_SIZE</a>) </td></tr> |
---|
1015 | </table> |
---|
1016 | </dl> |
---|
1017 | </td> |
---|
1018 | </tr> |
---|
1019 | </table> |
---|
1020 | <a class="anchor" name="a49" doxytag="EnvMap.fx::EnvMapDiffuseLocalized5TexPS"></a><p> |
---|
1021 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1022 | <tr> |
---|
1023 | <td class="mdRow"> |
---|
1024 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1025 | <tr> |
---|
1026 | <td class="md" nowrap valign="top">float4 EnvMapDiffuseLocalized5TexPS </td> |
---|
1027 | <td class="md" valign="top">( </td> |
---|
1028 | <td class="md" nowrap valign="top"><a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> </td> |
---|
1029 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
1030 | <td class="md" valign="top"> ) </td> |
---|
1031 | <td class="md" nowrap></td> |
---|
1032 | </tr> |
---|
1033 | </table> |
---|
1034 | </td> |
---|
1035 | </tr> |
---|
1036 | </table> |
---|
1037 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1038 | <tr> |
---|
1039 | <td> |
---|
1040 | |
---|
1041 | </td> |
---|
1042 | <td> |
---|
1043 | |
---|
1044 | <p> |
---|
1045 | Calculates diffuse or specular contributions of the 5 "most important" texels of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the current point. For these texels, function <a class="el" href="_env_map_8fx.html#a44">GetContr(int,float3,float3,float3,float3)</a> is called. |
---|
1046 | <p> |
---|
1047 | </td> |
---|
1048 | </tr> |
---|
1049 | </table> |
---|
1050 | <a class="anchor" name="a42" doxytag="EnvMap.fx::EnvMapVS"></a><p> |
---|
1051 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1052 | <tr> |
---|
1053 | <td class="mdRow"> |
---|
1054 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1055 | <tr> |
---|
1056 | <td class="md" nowrap valign="top"><a class="el" href="struct___env_map_v_s__output.html">_EnvMapVS_output</a> EnvMapVS </td> |
---|
1057 | <td class="md" valign="top">( </td> |
---|
1058 | <td class="md" nowrap valign="top"><a class="el" href="struct___env_map_v_s__input.html">_EnvMapVS_input</a> </td> |
---|
1059 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
1060 | <td class="md" valign="top"> ) </td> |
---|
1061 | <td class="md" nowrap></td> |
---|
1062 | </tr> |
---|
1063 | </table> |
---|
1064 | </td> |
---|
1065 | </tr> |
---|
1066 | </table> |
---|
1067 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1068 | <tr> |
---|
1069 | <td> |
---|
1070 | |
---|
1071 | </td> |
---|
1072 | <td> |
---|
1073 | |
---|
1074 | <p> |
---|
1075 | </td> |
---|
1076 | </tr> |
---|
1077 | </table> |
---|
1078 | <a class="anchor" name="a44" doxytag="EnvMap.fx::GetContr"></a><p> |
---|
1079 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1080 | <tr> |
---|
1081 | <td class="mdRow"> |
---|
1082 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1083 | <tr> |
---|
1084 | <td class="md" nowrap valign="top">float4 GetContr </td> |
---|
1085 | <td class="md" valign="top">( </td> |
---|
1086 | <td class="md" nowrap valign="top">int </td> |
---|
1087 | <td class="mdname" nowrap> <em>M</em>, </td> |
---|
1088 | </tr> |
---|
1089 | <tr> |
---|
1090 | <td class="md" nowrap align="right"></td> |
---|
1091 | <td class="md"></td> |
---|
1092 | <td class="md" nowrap>float3 </td> |
---|
1093 | <td class="mdname" nowrap> <em>L</em>, </td> |
---|
1094 | </tr> |
---|
1095 | <tr> |
---|
1096 | <td class="md" nowrap align="right"></td> |
---|
1097 | <td class="md"></td> |
---|
1098 | <td class="md" nowrap>float3 </td> |
---|
1099 | <td class="mdname" nowrap> <em>pos</em>, </td> |
---|
1100 | </tr> |
---|
1101 | <tr> |
---|
1102 | <td class="md" nowrap align="right"></td> |
---|
1103 | <td class="md"></td> |
---|
1104 | <td class="md" nowrap>float3 </td> |
---|
1105 | <td class="mdname" nowrap> <em>N</em>, </td> |
---|
1106 | </tr> |
---|
1107 | <tr> |
---|
1108 | <td class="md" nowrap align="right"></td> |
---|
1109 | <td class="md"></td> |
---|
1110 | <td class="md" nowrap>float3 </td> |
---|
1111 | <td class="mdname" nowrap> <em>V</em></td> |
---|
1112 | </tr> |
---|
1113 | <tr> |
---|
1114 | <td class="md"></td> |
---|
1115 | <td class="md">) </td> |
---|
1116 | <td class="md" colspan="2"></td> |
---|
1117 | </tr> |
---|
1118 | </table> |
---|
1119 | </td> |
---|
1120 | </tr> |
---|
1121 | </table> |
---|
1122 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1123 | <tr> |
---|
1124 | <td> |
---|
1125 | |
---|
1126 | </td> |
---|
1127 | <td> |
---|
1128 | |
---|
1129 | <p> |
---|
1130 | Calculates the contribution of a single texel of <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> to the illumination of the shaded point. To compute reflectivity, precalculated integral values are used. |
---|
1131 | <p> |
---|
1132 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1133 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1134 | <tr><td valign="top"></td><td valign="top"><em>L</em> </td><td>vector pointing to the center of the texel under examination. We assume that the largest coordinate component of L is equal to one, i.e. L points to the face of a cube of edge length of 2. </td></tr> |
---|
1135 | <tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>is the position of the shaded point </td></tr> |
---|
1136 | <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>is the surface normal at the shaded point </td></tr> |
---|
1137 | <tr><td valign="top"></td><td valign="top"><em>V</em> </td><td>is the viewing direction at the shaded point </td></tr> |
---|
1138 | </table> |
---|
1139 | </dl> |
---|
1140 | </td> |
---|
1141 | </tr> |
---|
1142 | </table> |
---|
1143 | <a class="anchor" name="a36" doxytag="EnvMap.fx::GetContr"></a><p> |
---|
1144 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1145 | <tr> |
---|
1146 | <td class="mdRow"> |
---|
1147 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1148 | <tr> |
---|
1149 | <td class="md" nowrap valign="top">float4 GetContr </td> |
---|
1150 | <td class="md" valign="top">( </td> |
---|
1151 | <td class="md" nowrap valign="top">float3 </td> |
---|
1152 | <td class="mdname" nowrap> <em>q</em>, </td> |
---|
1153 | </tr> |
---|
1154 | <tr> |
---|
1155 | <td class="md" nowrap align="right"></td> |
---|
1156 | <td class="md"></td> |
---|
1157 | <td class="md" nowrap>float3 </td> |
---|
1158 | <td class="mdname" nowrap> <em>L</em></td> |
---|
1159 | </tr> |
---|
1160 | <tr> |
---|
1161 | <td class="md"></td> |
---|
1162 | <td class="md">) </td> |
---|
1163 | <td class="md" colspan="2"></td> |
---|
1164 | </tr> |
---|
1165 | </table> |
---|
1166 | </td> |
---|
1167 | </tr> |
---|
1168 | </table> |
---|
1169 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1170 | <tr> |
---|
1171 | <td> |
---|
1172 | |
---|
1173 | </td> |
---|
1174 | <td> |
---|
1175 | |
---|
1176 | <p> |
---|
1177 | Returns the precalculated contribution of a texel with regard to the specified query direction. |
---|
1178 | <p> |
---|
1179 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1180 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1181 | <tr><td valign="top"></td><td valign="top"><em>q</em> </td><td><b>query direction</b> (i.e. surface normal in diffuse case, ideal reflection direction in specular case). </td></tr> |
---|
1182 | <tr><td valign="top"></td><td valign="top"><em>L</em> </td><td>vector pointing to the texel center </td></tr> |
---|
1183 | </table> |
---|
1184 | </dl> |
---|
1185 | </td> |
---|
1186 | </tr> |
---|
1187 | </table> |
---|
1188 | <a class="anchor" name="a51" doxytag="EnvMap.fx::IlluminatedScenePS"></a><p> |
---|
1189 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1190 | <tr> |
---|
1191 | <td class="mdRow"> |
---|
1192 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1193 | <tr> |
---|
1194 | <td class="md" nowrap valign="top">float4 IlluminatedScenePS </td> |
---|
1195 | <td class="md" valign="top">( </td> |
---|
1196 | <td class="md" nowrap valign="top"><a class="el" href="struct___illuminated_scene_v_s__output.html">_IlluminatedSceneVS_output</a> </td> |
---|
1197 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
1198 | <td class="md" valign="top"> ) </td> |
---|
1199 | <td class="md" nowrap></td> |
---|
1200 | </tr> |
---|
1201 | </table> |
---|
1202 | </td> |
---|
1203 | </tr> |
---|
1204 | </table> |
---|
1205 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1206 | <tr> |
---|
1207 | <td> |
---|
1208 | |
---|
1209 | </td> |
---|
1210 | <td> |
---|
1211 | |
---|
1212 | <p> |
---|
1213 | Displays the environment with a simple shading. |
---|
1214 | <p> |
---|
1215 | </td> |
---|
1216 | </tr> |
---|
1217 | </table> |
---|
1218 | <a class="anchor" name="a50" doxytag="EnvMap.fx::IlluminatedSceneVS"></a><p> |
---|
1219 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1220 | <tr> |
---|
1221 | <td class="mdRow"> |
---|
1222 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1223 | <tr> |
---|
1224 | <td class="md" nowrap valign="top"><a class="el" href="struct___illuminated_scene_v_s__output.html">_IlluminatedSceneVS_output</a> IlluminatedSceneVS </td> |
---|
1225 | <td class="md" valign="top">( </td> |
---|
1226 | <td class="md" nowrap valign="top"><a class="el" href="struct___illuminated_scene_v_s__input.html">_IlluminatedSceneVS_input</a> </td> |
---|
1227 | <td class="mdname1" valign="top" nowrap> <em>IN</em> </td> |
---|
1228 | <td class="md" valign="top"> ) </td> |
---|
1229 | <td class="md" nowrap></td> |
---|
1230 | </tr> |
---|
1231 | </table> |
---|
1232 | </td> |
---|
1233 | </tr> |
---|
1234 | </table> |
---|
1235 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1236 | <tr> |
---|
1237 | <td> |
---|
1238 | |
---|
1239 | </td> |
---|
1240 | <td> |
---|
1241 | |
---|
1242 | <p> |
---|
1243 | </td> |
---|
1244 | </tr> |
---|
1245 | </table> |
---|
1246 | <a class="anchor" name="a61" doxytag="EnvMap.fx::ReduceTextureTechnique"></a><p> |
---|
1247 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1248 | <tr> |
---|
1249 | <td class="mdRow"> |
---|
1250 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1251 | <tr> |
---|
1252 | <td class="md" nowrap valign="top">ReduceTextureTechnique </td> |
---|
1253 | <td class="md" valign="top">( </td> |
---|
1254 | <td class="md" nowrap valign="top">16 </td> |
---|
1255 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1256 | <td class="md" valign="top"> ) </td> |
---|
1257 | <td class="md" nowrap></td> |
---|
1258 | </tr> |
---|
1259 | </table> |
---|
1260 | </td> |
---|
1261 | </tr> |
---|
1262 | </table> |
---|
1263 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1264 | <tr> |
---|
1265 | <td> |
---|
1266 | |
---|
1267 | </td> |
---|
1268 | <td> |
---|
1269 | |
---|
1270 | <p> |
---|
1271 | </td> |
---|
1272 | </tr> |
---|
1273 | </table> |
---|
1274 | <a class="anchor" name="a60" doxytag="EnvMap.fx::ReduceTextureTechnique"></a><p> |
---|
1275 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1276 | <tr> |
---|
1277 | <td class="mdRow"> |
---|
1278 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1279 | <tr> |
---|
1280 | <td class="md" nowrap valign="top">ReduceTextureTechnique </td> |
---|
1281 | <td class="md" valign="top">( </td> |
---|
1282 | <td class="md" nowrap valign="top">8 </td> |
---|
1283 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1284 | <td class="md" valign="top"> ) </td> |
---|
1285 | <td class="md" nowrap></td> |
---|
1286 | </tr> |
---|
1287 | </table> |
---|
1288 | </td> |
---|
1289 | </tr> |
---|
1290 | </table> |
---|
1291 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1292 | <tr> |
---|
1293 | <td> |
---|
1294 | |
---|
1295 | </td> |
---|
1296 | <td> |
---|
1297 | |
---|
1298 | <p> |
---|
1299 | </td> |
---|
1300 | </tr> |
---|
1301 | </table> |
---|
1302 | <a class="anchor" name="a59" doxytag="EnvMap.fx::ReduceTextureTechnique"></a><p> |
---|
1303 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1304 | <tr> |
---|
1305 | <td class="mdRow"> |
---|
1306 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1307 | <tr> |
---|
1308 | <td class="md" nowrap valign="top">ReduceTextureTechnique </td> |
---|
1309 | <td class="md" valign="top">( </td> |
---|
1310 | <td class="md" nowrap valign="top">4 </td> |
---|
1311 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1312 | <td class="md" valign="top"> ) </td> |
---|
1313 | <td class="md" nowrap></td> |
---|
1314 | </tr> |
---|
1315 | </table> |
---|
1316 | </td> |
---|
1317 | </tr> |
---|
1318 | </table> |
---|
1319 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1320 | <tr> |
---|
1321 | <td> |
---|
1322 | |
---|
1323 | </td> |
---|
1324 | <td> |
---|
1325 | |
---|
1326 | <p> |
---|
1327 | </td> |
---|
1328 | </tr> |
---|
1329 | </table> |
---|
1330 | <a class="anchor" name="a58" doxytag="EnvMap.fx::ReduceTextureTechnique"></a><p> |
---|
1331 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1332 | <tr> |
---|
1333 | <td class="mdRow"> |
---|
1334 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1335 | <tr> |
---|
1336 | <td class="md" nowrap valign="top">ReduceTextureTechnique </td> |
---|
1337 | <td class="md" valign="top">( </td> |
---|
1338 | <td class="md" nowrap valign="top">2 </td> |
---|
1339 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1340 | <td class="md" valign="top"> ) </td> |
---|
1341 | <td class="md" nowrap></td> |
---|
1342 | </tr> |
---|
1343 | </table> |
---|
1344 | </td> |
---|
1345 | </tr> |
---|
1346 | </table> |
---|
1347 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1348 | <tr> |
---|
1349 | <td> |
---|
1350 | |
---|
1351 | </td> |
---|
1352 | <td> |
---|
1353 | |
---|
1354 | <p> |
---|
1355 | </td> |
---|
1356 | </tr> |
---|
1357 | </table> |
---|
1358 | <a class="anchor" name="a31" doxytag="EnvMap.fx::ReduceTextureVS"></a><p> |
---|
1359 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1360 | <tr> |
---|
1361 | <td class="mdRow"> |
---|
1362 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1363 | <tr> |
---|
1364 | <td class="md" nowrap valign="top">void ReduceTextureVS </td> |
---|
1365 | <td class="md" valign="top">( </td> |
---|
1366 | <td class="md" nowrap valign="top">float4 position:POSITION </td> |
---|
1367 | <td class="mdname" nowrap>, </td> |
---|
1368 | </tr> |
---|
1369 | <tr> |
---|
1370 | <td class="md" nowrap align="right"></td> |
---|
1371 | <td class="md"></td> |
---|
1372 | <td class="md" nowrap>float4 color0:COLOR0 </td> |
---|
1373 | <td class="mdname" nowrap>, </td> |
---|
1374 | </tr> |
---|
1375 | <tr> |
---|
1376 | <td class="md" nowrap align="right"></td> |
---|
1377 | <td class="md"></td> |
---|
1378 | <td class="md" nowrap>float3 Normal:NORMAL </td> |
---|
1379 | <td class="mdname" nowrap>, </td> |
---|
1380 | </tr> |
---|
1381 | <tr> |
---|
1382 | <td class="md" nowrap align="right"></td> |
---|
1383 | <td class="md"></td> |
---|
1384 | <td class="md" nowrap>float2 Tex:TEXCOORD0 </td> |
---|
1385 | <td class="mdname" nowrap>, </td> |
---|
1386 | </tr> |
---|
1387 | <tr> |
---|
1388 | <td class="md" nowrap align="right"></td> |
---|
1389 | <td class="md"></td> |
---|
1390 | <td class="md" nowrap>out float4 hposition:POSITION </td> |
---|
1391 | <td class="mdname" nowrap>, </td> |
---|
1392 | </tr> |
---|
1393 | <tr> |
---|
1394 | <td class="md" nowrap align="right"></td> |
---|
1395 | <td class="md"></td> |
---|
1396 | <td class="md" nowrap>out float4 color:COLOR0 </td> |
---|
1397 | <td class="mdname" nowrap>, </td> |
---|
1398 | </tr> |
---|
1399 | <tr> |
---|
1400 | <td class="md" nowrap align="right"></td> |
---|
1401 | <td class="md"></td> |
---|
1402 | <td class="md" nowrap>out float2 oTex:TEXCOORD0 </td> |
---|
1403 | <td class="mdname" nowrap>, </td> |
---|
1404 | </tr> |
---|
1405 | <tr> |
---|
1406 | <td class="md" nowrap align="right"></td> |
---|
1407 | <td class="md"></td> |
---|
1408 | <td class="md" nowrap>out float4 pos:TEXCOORD1 </td> |
---|
1409 | <td class="mdname" nowrap></td> |
---|
1410 | </tr> |
---|
1411 | <tr> |
---|
1412 | <td class="md"></td> |
---|
1413 | <td class="md">) </td> |
---|
1414 | <td class="md" colspan="2"></td> |
---|
1415 | </tr> |
---|
1416 | </table> |
---|
1417 | </td> |
---|
1418 | </tr> |
---|
1419 | </table> |
---|
1420 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1421 | <tr> |
---|
1422 | <td> |
---|
1423 | |
---|
1424 | </td> |
---|
1425 | <td> |
---|
1426 | |
---|
1427 | <p> |
---|
1428 | </td> |
---|
1429 | </tr> |
---|
1430 | </table> |
---|
1431 | <a class="anchor" name="a66" doxytag="EnvMap.fx::Technique"></a><p> |
---|
1432 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1433 | <tr> |
---|
1434 | <td class="mdRow"> |
---|
1435 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1436 | <tr> |
---|
1437 | <td class="md" nowrap valign="top">Technique </td> |
---|
1438 | <td class="md" valign="top">( </td> |
---|
1439 | <td class="md" nowrap valign="top">IlluminatedScene </td> |
---|
1440 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1441 | <td class="md" valign="top"> ) </td> |
---|
1442 | <td class="md" nowrap></td> |
---|
1443 | </tr> |
---|
1444 | </table> |
---|
1445 | </td> |
---|
1446 | </tr> |
---|
1447 | </table> |
---|
1448 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1449 | <tr> |
---|
1450 | <td> |
---|
1451 | |
---|
1452 | </td> |
---|
1453 | <td> |
---|
1454 | |
---|
1455 | <p> |
---|
1456 | </td> |
---|
1457 | </tr> |
---|
1458 | </table> |
---|
1459 | <a class="anchor" name="a57" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1460 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1461 | <tr> |
---|
1462 | <td class="mdRow"> |
---|
1463 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1464 | <tr> |
---|
1465 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1466 | <td class="md" valign="top">( </td> |
---|
1467 | <td class="md" nowrap valign="top">EnvMapDiffuseLocalized16 </td> |
---|
1468 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1469 | <td class="md" valign="top"> ) </td> |
---|
1470 | <td class="md" nowrap></td> |
---|
1471 | </tr> |
---|
1472 | </table> |
---|
1473 | </td> |
---|
1474 | </tr> |
---|
1475 | </table> |
---|
1476 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1477 | <tr> |
---|
1478 | <td> |
---|
1479 | |
---|
1480 | </td> |
---|
1481 | <td> |
---|
1482 | |
---|
1483 | <p> |
---|
1484 | </td> |
---|
1485 | </tr> |
---|
1486 | </table> |
---|
1487 | <a class="anchor" name="a56" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1488 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1489 | <tr> |
---|
1490 | <td class="mdRow"> |
---|
1491 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1492 | <tr> |
---|
1493 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1494 | <td class="md" valign="top">( </td> |
---|
1495 | <td class="md" nowrap valign="top">EnvMapDiffuseLocalized8 </td> |
---|
1496 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1497 | <td class="md" valign="top"> ) </td> |
---|
1498 | <td class="md" nowrap></td> |
---|
1499 | </tr> |
---|
1500 | </table> |
---|
1501 | </td> |
---|
1502 | </tr> |
---|
1503 | </table> |
---|
1504 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1505 | <tr> |
---|
1506 | <td> |
---|
1507 | |
---|
1508 | </td> |
---|
1509 | <td> |
---|
1510 | |
---|
1511 | <p> |
---|
1512 | </td> |
---|
1513 | </tr> |
---|
1514 | </table> |
---|
1515 | <a class="anchor" name="a55" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1516 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1517 | <tr> |
---|
1518 | <td class="mdRow"> |
---|
1519 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1520 | <tr> |
---|
1521 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1522 | <td class="md" valign="top">( </td> |
---|
1523 | <td class="md" nowrap valign="top">EnvMapDiffuseLocalized4 </td> |
---|
1524 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1525 | <td class="md" valign="top"> ) </td> |
---|
1526 | <td class="md" nowrap></td> |
---|
1527 | </tr> |
---|
1528 | </table> |
---|
1529 | </td> |
---|
1530 | </tr> |
---|
1531 | </table> |
---|
1532 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1533 | <tr> |
---|
1534 | <td> |
---|
1535 | |
---|
1536 | </td> |
---|
1537 | <td> |
---|
1538 | |
---|
1539 | <p> |
---|
1540 | </td> |
---|
1541 | </tr> |
---|
1542 | </table> |
---|
1543 | <a class="anchor" name="a54" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1544 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1545 | <tr> |
---|
1546 | <td class="mdRow"> |
---|
1547 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1548 | <tr> |
---|
1549 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1550 | <td class="md" valign="top">( </td> |
---|
1551 | <td class="md" nowrap valign="top">EnvMapDiffuseLocalized2 </td> |
---|
1552 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1553 | <td class="md" valign="top"> ) </td> |
---|
1554 | <td class="md" nowrap></td> |
---|
1555 | </tr> |
---|
1556 | </table> |
---|
1557 | </td> |
---|
1558 | </tr> |
---|
1559 | </table> |
---|
1560 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1561 | <tr> |
---|
1562 | <td> |
---|
1563 | |
---|
1564 | </td> |
---|
1565 | <td> |
---|
1566 | |
---|
1567 | <p> |
---|
1568 | </td> |
---|
1569 | </tr> |
---|
1570 | </table> |
---|
1571 | <a class="anchor" name="a53" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1572 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1573 | <tr> |
---|
1574 | <td class="mdRow"> |
---|
1575 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1576 | <tr> |
---|
1577 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1578 | <td class="md" valign="top">( </td> |
---|
1579 | <td class="md" nowrap valign="top">EnvMapDiffuseLocalized5Tex </td> |
---|
1580 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1581 | <td class="md" valign="top"> ) </td> |
---|
1582 | <td class="md" nowrap></td> |
---|
1583 | </tr> |
---|
1584 | </table> |
---|
1585 | </td> |
---|
1586 | </tr> |
---|
1587 | </table> |
---|
1588 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1589 | <tr> |
---|
1590 | <td> |
---|
1591 | |
---|
1592 | </td> |
---|
1593 | <td> |
---|
1594 | |
---|
1595 | <p> |
---|
1596 | </td> |
---|
1597 | </tr> |
---|
1598 | </table> |
---|
1599 | <a class="anchor" name="a52" doxytag="EnvMap.fx::TechniqueUsingCommonVS"></a><p> |
---|
1600 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1601 | <tr> |
---|
1602 | <td class="mdRow"> |
---|
1603 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1604 | <tr> |
---|
1605 | <td class="md" nowrap valign="top">TechniqueUsingCommonVS </td> |
---|
1606 | <td class="md" valign="top">( </td> |
---|
1607 | <td class="md" nowrap valign="top">EnvMapDiffuseClassic </td> |
---|
1608 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1609 | <td class="md" valign="top"> ) </td> |
---|
1610 | <td class="md" nowrap></td> |
---|
1611 | </tr> |
---|
1612 | </table> |
---|
1613 | </td> |
---|
1614 | </tr> |
---|
1615 | </table> |
---|
1616 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1617 | <tr> |
---|
1618 | <td> |
---|
1619 | |
---|
1620 | </td> |
---|
1621 | <td> |
---|
1622 | |
---|
1623 | <p> |
---|
1624 | </td> |
---|
1625 | </tr> |
---|
1626 | </table> |
---|
1627 | <hr><h2>Variable Documentation</h2> |
---|
1628 | <a class="anchor" name="a22" doxytag="EnvMap.fx::brightness"></a><p> |
---|
1629 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1630 | <tr> |
---|
1631 | <td class="mdRow"> |
---|
1632 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1633 | <tr> |
---|
1634 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map_8fx.html#a22">brightness</a> </td> |
---|
1635 | </tr> |
---|
1636 | </table> |
---|
1637 | </td> |
---|
1638 | </tr> |
---|
1639 | </table> |
---|
1640 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1641 | <tr> |
---|
1642 | <td> |
---|
1643 | |
---|
1644 | </td> |
---|
1645 | <td> |
---|
1646 | |
---|
1647 | <p> |
---|
1648 | </td> |
---|
1649 | </tr> |
---|
1650 | </table> |
---|
1651 | <a class="anchor" name="a26" doxytag="EnvMap.fx::Decoration"></a><p> |
---|
1652 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1653 | <tr> |
---|
1654 | <td class="mdRow"> |
---|
1655 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1656 | <tr> |
---|
1657 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map_8fx.html#a26">Decoration</a> </td> |
---|
1658 | </tr> |
---|
1659 | </table> |
---|
1660 | </td> |
---|
1661 | </tr> |
---|
1662 | </table> |
---|
1663 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1664 | <tr> |
---|
1665 | <td> |
---|
1666 | |
---|
1667 | </td> |
---|
1668 | <td> |
---|
1669 | |
---|
1670 | <p> |
---|
1671 | </td> |
---|
1672 | </tr> |
---|
1673 | </table> |
---|
1674 | <a class="anchor" name="a30" doxytag="EnvMap.fx::DecorationSampler"></a><p> |
---|
1675 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1676 | <tr> |
---|
1677 | <td class="mdRow"> |
---|
1678 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1679 | <tr> |
---|
1680 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map_8fx.html#a30">DecorationSampler</a> </td> |
---|
1681 | </tr> |
---|
1682 | </table> |
---|
1683 | </td> |
---|
1684 | </tr> |
---|
1685 | </table> |
---|
1686 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1687 | <tr> |
---|
1688 | <td> |
---|
1689 | |
---|
1690 | </td> |
---|
1691 | <td> |
---|
1692 | |
---|
1693 | <p> |
---|
1694 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
1695 | { |
---|
1696 | Texture = <<a class="code" href="_env_map_8fx.html#a26">Decoration</a>>; |
---|
1697 | MinFilter = LINEAR; |
---|
1698 | MagFilter = LINEAR; |
---|
1699 | |
---|
1700 | AddressU = CLAMP; |
---|
1701 | AddressV = CLAMP; |
---|
1702 | } |
---|
1703 | </pre></div> </td> |
---|
1704 | </tr> |
---|
1705 | </table> |
---|
1706 | <a class="anchor" name="a23" doxytag="EnvMap.fx::EnvironmentMap"></a><p> |
---|
1707 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1708 | <tr> |
---|
1709 | <td class="mdRow"> |
---|
1710 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1711 | <tr> |
---|
1712 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map_8fx.html#a23">EnvironmentMap</a> </td> |
---|
1713 | </tr> |
---|
1714 | </table> |
---|
1715 | </td> |
---|
1716 | </tr> |
---|
1717 | </table> |
---|
1718 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1719 | <tr> |
---|
1720 | <td> |
---|
1721 | |
---|
1722 | </td> |
---|
1723 | <td> |
---|
1724 | |
---|
1725 | <p> |
---|
1726 | </td> |
---|
1727 | </tr> |
---|
1728 | </table> |
---|
1729 | <a class="anchor" name="a27" doxytag="EnvMap.fx::EnvironmentMapSampler"></a><p> |
---|
1730 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1731 | <tr> |
---|
1732 | <td class="mdRow"> |
---|
1733 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1734 | <tr> |
---|
1735 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map_8fx.html#a27">EnvironmentMapSampler</a> </td> |
---|
1736 | </tr> |
---|
1737 | </table> |
---|
1738 | </td> |
---|
1739 | </tr> |
---|
1740 | </table> |
---|
1741 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1742 | <tr> |
---|
1743 | <td> |
---|
1744 | |
---|
1745 | </td> |
---|
1746 | <td> |
---|
1747 | |
---|
1748 | <p> |
---|
1749 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
1750 | { |
---|
1751 | |
---|
1752 | Texture = <<a class="code" href="_env_map_8fx.html#a23">EnvironmentMap</a>>; |
---|
1753 | AddressU = WRAP; |
---|
1754 | AddressV = WRAP; |
---|
1755 | } |
---|
1756 | </pre></div> </td> |
---|
1757 | </tr> |
---|
1758 | </table> |
---|
1759 | <a class="anchor" name="a15" doxytag="EnvMap.fx::eyePos"></a><p> |
---|
1760 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1761 | <tr> |
---|
1762 | <td class="mdRow"> |
---|
1763 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1764 | <tr> |
---|
1765 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map_8fx.html#a15">eyePos</a> </td> |
---|
1766 | </tr> |
---|
1767 | </table> |
---|
1768 | </td> |
---|
1769 | </tr> |
---|
1770 | </table> |
---|
1771 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1772 | <tr> |
---|
1773 | <td> |
---|
1774 | |
---|
1775 | </td> |
---|
1776 | <td> |
---|
1777 | |
---|
1778 | <p> |
---|
1779 | current eye (camera) position |
---|
1780 | <p> |
---|
1781 | </td> |
---|
1782 | </tr> |
---|
1783 | </table> |
---|
1784 | <a class="anchor" name="a20" doxytag="EnvMap.fx::intensity"></a><p> |
---|
1785 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1786 | <tr> |
---|
1787 | <td class="mdRow"> |
---|
1788 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1789 | <tr> |
---|
1790 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map_8fx.html#a20">intensity</a> </td> |
---|
1791 | </tr> |
---|
1792 | </table> |
---|
1793 | </td> |
---|
1794 | </tr> |
---|
1795 | </table> |
---|
1796 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1797 | <tr> |
---|
1798 | <td> |
---|
1799 | |
---|
1800 | </td> |
---|
1801 | <td> |
---|
1802 | |
---|
1803 | <p> |
---|
1804 | </td> |
---|
1805 | </tr> |
---|
1806 | </table> |
---|
1807 | <a class="anchor" name="a18" doxytag="EnvMap.fx::iShowCubeMap"></a><p> |
---|
1808 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1809 | <tr> |
---|
1810 | <td class="mdRow"> |
---|
1811 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1812 | <tr> |
---|
1813 | <td class="md" nowrap valign="top">int iShowCubeMap </td> |
---|
1814 | </tr> |
---|
1815 | </table> |
---|
1816 | </td> |
---|
1817 | </tr> |
---|
1818 | </table> |
---|
1819 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1820 | <tr> |
---|
1821 | <td> |
---|
1822 | |
---|
1823 | </td> |
---|
1824 | <td> |
---|
1825 | |
---|
1826 | <p> |
---|
1827 | </td> |
---|
1828 | </tr> |
---|
1829 | </table> |
---|
1830 | <a class="anchor" name="a9" doxytag="EnvMap.fx::LR_CUBEMAP_SIZE"></a><p> |
---|
1831 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1832 | <tr> |
---|
1833 | <td class="mdRow"> |
---|
1834 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1835 | <tr> |
---|
1836 | <td class="md" nowrap valign="top">int <a class="el" href="_env_map_8fx.html#a9">LR_CUBEMAP_SIZE</a> </td> |
---|
1837 | </tr> |
---|
1838 | </table> |
---|
1839 | </td> |
---|
1840 | </tr> |
---|
1841 | </table> |
---|
1842 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1843 | <tr> |
---|
1844 | <td> |
---|
1845 | |
---|
1846 | </td> |
---|
1847 | <td> |
---|
1848 | |
---|
1849 | <p> |
---|
1850 | size of the cube map for diffuse/glossy reflections |
---|
1851 | <p> |
---|
1852 | </td> |
---|
1853 | </tr> |
---|
1854 | </table> |
---|
1855 | <a class="anchor" name="a17" doxytag="EnvMap.fx::nFace"></a><p> |
---|
1856 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1857 | <tr> |
---|
1858 | <td class="mdRow"> |
---|
1859 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1860 | <tr> |
---|
1861 | <td class="md" nowrap valign="top">int <a class="el" href="_env_map_8fx.html#a17">nFace</a> </td> |
---|
1862 | </tr> |
---|
1863 | </table> |
---|
1864 | </td> |
---|
1865 | </tr> |
---|
1866 | </table> |
---|
1867 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1868 | <tr> |
---|
1869 | <td> |
---|
1870 | |
---|
1871 | </td> |
---|
1872 | <td> |
---|
1873 | |
---|
1874 | <p> |
---|
1875 | </td> |
---|
1876 | </tr> |
---|
1877 | </table> |
---|
1878 | <a class="anchor" name="a19" doxytag="EnvMap.fx::objColor"></a><p> |
---|
1879 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1880 | <tr> |
---|
1881 | <td class="mdRow"> |
---|
1882 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1883 | <tr> |
---|
1884 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map_8fx.html#a19">objColor</a> </td> |
---|
1885 | </tr> |
---|
1886 | </table> |
---|
1887 | </td> |
---|
1888 | </tr> |
---|
1889 | </table> |
---|
1890 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1891 | <tr> |
---|
1892 | <td> |
---|
1893 | |
---|
1894 | </td> |
---|
1895 | <td> |
---|
1896 | |
---|
1897 | <p> |
---|
1898 | </td> |
---|
1899 | </tr> |
---|
1900 | </table> |
---|
1901 | <a class="anchor" name="a25" doxytag="EnvMap.fx::PreconvolvedEnvironmentMap"></a><p> |
---|
1902 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1903 | <tr> |
---|
1904 | <td class="mdRow"> |
---|
1905 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1906 | <tr> |
---|
1907 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map_8fx.html#a25">PreconvolvedEnvironmentMap</a> </td> |
---|
1908 | </tr> |
---|
1909 | </table> |
---|
1910 | </td> |
---|
1911 | </tr> |
---|
1912 | </table> |
---|
1913 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1914 | <tr> |
---|
1915 | <td> |
---|
1916 | |
---|
1917 | </td> |
---|
1918 | <td> |
---|
1919 | |
---|
1920 | <p> |
---|
1921 | </td> |
---|
1922 | </tr> |
---|
1923 | </table> |
---|
1924 | <a class="anchor" name="a28" doxytag="EnvMap.fx::PreconvolvedEnvironmentMapSampler"></a><p> |
---|
1925 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1926 | <tr> |
---|
1927 | <td class="mdRow"> |
---|
1928 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1929 | <tr> |
---|
1930 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map_8fx.html#a28">PreconvolvedEnvironmentMapSampler</a> </td> |
---|
1931 | </tr> |
---|
1932 | </table> |
---|
1933 | </td> |
---|
1934 | </tr> |
---|
1935 | </table> |
---|
1936 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1937 | <tr> |
---|
1938 | <td> |
---|
1939 | |
---|
1940 | </td> |
---|
1941 | <td> |
---|
1942 | |
---|
1943 | <p> |
---|
1944 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
1945 | { |
---|
1946 | MinFilter = LINEAR; |
---|
1947 | MagFilter = LINEAR; |
---|
1948 | |
---|
1949 | Texture = <<a class="code" href="_env_map_8fx.html#a25">PreconvolvedEnvironmentMap</a>>; |
---|
1950 | AddressU = WRAP; |
---|
1951 | AddressV = WRAP; |
---|
1952 | } |
---|
1953 | </pre></div> </td> |
---|
1954 | </tr> |
---|
1955 | </table> |
---|
1956 | <a class="anchor" name="a16" doxytag="EnvMap.fx::reference_pos"></a><p> |
---|
1957 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1958 | <tr> |
---|
1959 | <td class="mdRow"> |
---|
1960 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1961 | <tr> |
---|
1962 | <td class="md" nowrap valign="top">float4 <a class="el" href="_env_map_8fx.html#a16">reference_pos</a> </td> |
---|
1963 | </tr> |
---|
1964 | </table> |
---|
1965 | </td> |
---|
1966 | </tr> |
---|
1967 | </table> |
---|
1968 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1969 | <tr> |
---|
1970 | <td> |
---|
1971 | |
---|
1972 | </td> |
---|
1973 | <td> |
---|
1974 | |
---|
1975 | <p> |
---|
1976 | Reference point for the last cube map generation. |
---|
1977 | <p> |
---|
1978 | </td> |
---|
1979 | </tr> |
---|
1980 | </table> |
---|
1981 | <a class="anchor" name="a21" doxytag="EnvMap.fx::shininess"></a><p> |
---|
1982 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
1983 | <tr> |
---|
1984 | <td class="mdRow"> |
---|
1985 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1986 | <tr> |
---|
1987 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map_8fx.html#a21">shininess</a> </td> |
---|
1988 | </tr> |
---|
1989 | </table> |
---|
1990 | </td> |
---|
1991 | </tr> |
---|
1992 | </table> |
---|
1993 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
1994 | <tr> |
---|
1995 | <td> |
---|
1996 | |
---|
1997 | </td> |
---|
1998 | <td> |
---|
1999 | |
---|
2000 | <p> |
---|
2001 | </td> |
---|
2002 | </tr> |
---|
2003 | </table> |
---|
2004 | <a class="anchor" name="a24" doxytag="EnvMap.fx::SmallEnvironmentMap"></a><p> |
---|
2005 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2006 | <tr> |
---|
2007 | <td class="mdRow"> |
---|
2008 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2009 | <tr> |
---|
2010 | <td class="md" nowrap valign="top">texture <a class="el" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a> </td> |
---|
2011 | </tr> |
---|
2012 | </table> |
---|
2013 | </td> |
---|
2014 | </tr> |
---|
2015 | </table> |
---|
2016 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2017 | <tr> |
---|
2018 | <td> |
---|
2019 | |
---|
2020 | </td> |
---|
2021 | <td> |
---|
2022 | |
---|
2023 | <p> |
---|
2024 | </td> |
---|
2025 | </tr> |
---|
2026 | </table> |
---|
2027 | <a class="anchor" name="a29" doxytag="EnvMap.fx::SmallEnvironmentMapSampler"></a><p> |
---|
2028 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2029 | <tr> |
---|
2030 | <td class="mdRow"> |
---|
2031 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2032 | <tr> |
---|
2033 | <td class="md" nowrap valign="top">sampler <a class="el" href="_env_map_8fx.html#a29">SmallEnvironmentMapSampler</a> </td> |
---|
2034 | </tr> |
---|
2035 | </table> |
---|
2036 | </td> |
---|
2037 | </tr> |
---|
2038 | </table> |
---|
2039 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2040 | <tr> |
---|
2041 | <td> |
---|
2042 | |
---|
2043 | </td> |
---|
2044 | <td> |
---|
2045 | |
---|
2046 | <p> |
---|
2047 | <b>Initial value:</b><div class="fragment"><pre class="fragment"> sampler_state |
---|
2048 | { |
---|
2049 | |
---|
2050 | |
---|
2051 | |
---|
2052 | MinFilter = LINEAR; |
---|
2053 | MagFilter = LINEAR; |
---|
2054 | |
---|
2055 | |
---|
2056 | Texture = <<a class="code" href="_env_map_8fx.html#a24">SmallEnvironmentMap</a>>; |
---|
2057 | AddressU = WRAP; |
---|
2058 | AddressV = WRAP; |
---|
2059 | } |
---|
2060 | </pre></div> </td> |
---|
2061 | </tr> |
---|
2062 | </table> |
---|
2063 | <a class="anchor" name="a14" doxytag="EnvMap.fx::texel_size"></a><p> |
---|
2064 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2065 | <tr> |
---|
2066 | <td class="mdRow"> |
---|
2067 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2068 | <tr> |
---|
2069 | <td class="md" nowrap valign="top">float <a class="el" href="_env_map_8fx.html#a14">texel_size</a> </td> |
---|
2070 | </tr> |
---|
2071 | </table> |
---|
2072 | </td> |
---|
2073 | </tr> |
---|
2074 | </table> |
---|
2075 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2076 | <tr> |
---|
2077 | <td> |
---|
2078 | |
---|
2079 | </td> |
---|
2080 | <td> |
---|
2081 | |
---|
2082 | <p> |
---|
2083 | upload this constant every time the viewport changes |
---|
2084 | <p> |
---|
2085 | </td> |
---|
2086 | </tr> |
---|
2087 | </table> |
---|
2088 | <a class="anchor" name="a10" doxytag="EnvMap.fx::World"></a><p> |
---|
2089 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2090 | <tr> |
---|
2091 | <td class="mdRow"> |
---|
2092 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2093 | <tr> |
---|
2094 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map_8fx.html#a10">World</a> </td> |
---|
2095 | </tr> |
---|
2096 | </table> |
---|
2097 | </td> |
---|
2098 | </tr> |
---|
2099 | </table> |
---|
2100 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2101 | <tr> |
---|
2102 | <td> |
---|
2103 | |
---|
2104 | </td> |
---|
2105 | <td> |
---|
2106 | |
---|
2107 | <p> |
---|
2108 | World matrix for the current object. |
---|
2109 | <p> |
---|
2110 | </td> |
---|
2111 | </tr> |
---|
2112 | </table> |
---|
2113 | <a class="anchor" name="a11" doxytag="EnvMap.fx::WorldIT"></a><p> |
---|
2114 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2115 | <tr> |
---|
2116 | <td class="mdRow"> |
---|
2117 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2118 | <tr> |
---|
2119 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map_8fx.html#a11">WorldIT</a> </td> |
---|
2120 | </tr> |
---|
2121 | </table> |
---|
2122 | </td> |
---|
2123 | </tr> |
---|
2124 | </table> |
---|
2125 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2126 | <tr> |
---|
2127 | <td> |
---|
2128 | |
---|
2129 | </td> |
---|
2130 | <td> |
---|
2131 | |
---|
2132 | <p> |
---|
2133 | World matrix IT (inverse transposed) to transform surface normals of the current object. |
---|
2134 | <p> |
---|
2135 | </td> |
---|
2136 | </tr> |
---|
2137 | </table> |
---|
2138 | <a class="anchor" name="a12" doxytag="EnvMap.fx::WorldView"></a><p> |
---|
2139 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2140 | <tr> |
---|
2141 | <td class="mdRow"> |
---|
2142 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2143 | <tr> |
---|
2144 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map_8fx.html#a12">WorldView</a> </td> |
---|
2145 | </tr> |
---|
2146 | </table> |
---|
2147 | </td> |
---|
2148 | </tr> |
---|
2149 | </table> |
---|
2150 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2151 | <tr> |
---|
2152 | <td> |
---|
2153 | |
---|
2154 | </td> |
---|
2155 | <td> |
---|
2156 | |
---|
2157 | <p> |
---|
2158 | World * View matrix. |
---|
2159 | <p> |
---|
2160 | </td> |
---|
2161 | </tr> |
---|
2162 | </table> |
---|
2163 | <a class="anchor" name="a13" doxytag="EnvMap.fx::WorldViewProjection"></a><p> |
---|
2164 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
2165 | <tr> |
---|
2166 | <td class="mdRow"> |
---|
2167 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2168 | <tr> |
---|
2169 | <td class="md" nowrap valign="top">float4x4 <a class="el" href="_env_map_8fx.html#a13">WorldViewProjection</a> </td> |
---|
2170 | </tr> |
---|
2171 | </table> |
---|
2172 | </td> |
---|
2173 | </tr> |
---|
2174 | </table> |
---|
2175 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
2176 | <tr> |
---|
2177 | <td> |
---|
2178 | |
---|
2179 | </td> |
---|
2180 | <td> |
---|
2181 | |
---|
2182 | <p> |
---|
2183 | World * View * Projection matrix. |
---|
2184 | <p> |
---|
2185 | </td> |
---|
2186 | </tr> |
---|
2187 | </table> |
---|
2188 | <hr size="1"><address style="align: right;"><small>Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by |
---|
2189 | <a href="http://www.doxygen.org/index.html"> |
---|
2190 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
---|
2191 | </body> |
---|
2192 | </html> |
---|