Last change
on this file since 41 was
25,
checked in by nicolasc, 17 years ago
|
added Media and Config
|
-
Property svn:executable set to
*
|
File size:
781 bytes
|
Line | |
---|
1 | // Auxilary lights |
---|
2 | vertex_program DeferredShading/post/hlsl/LightMaterial_vs hlsl |
---|
3 | { |
---|
4 | source DeferredShading/post/hlsl/LightMaterial_vs.hlsl |
---|
5 | target vs_1_1 |
---|
6 | entry_point main |
---|
7 | default_params |
---|
8 | { |
---|
9 | param_named_auto worldViewProj worldviewproj_matrix |
---|
10 | param_named_auto invProj inverse_projection_matrix |
---|
11 | param_named_auto vpWidth viewport_width |
---|
12 | param_named_auto vpHeight viewport_height |
---|
13 | } |
---|
14 | } |
---|
15 | fragment_program DeferredShading/post/hlsl/LightMaterial_ps hlsl |
---|
16 | { |
---|
17 | source DeferredShading/post/hlsl/LightMaterial_ps.hlsl |
---|
18 | target ps_2_0 |
---|
19 | entry_point main |
---|
20 | |
---|
21 | default_params |
---|
22 | { |
---|
23 | param_named_auto worldView worldview_matrix |
---|
24 | |
---|
25 | param_named_auto lightDiffuseColor custom 1 |
---|
26 | param_named_auto lightSpecularColor custom 2 |
---|
27 | param_named_auto lightFalloff custom 3 |
---|
28 | } |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.