Rev | Line | |
---|
[1] | 1 | // Post processors |
---|
| 2 | vertex_program DeferredShading/post/hlsl/vs hlsl |
---|
| 3 | { |
---|
| 4 | source DeferredShading/post/hlsl/vs.hlsl |
---|
| 5 | target vs_1_1 |
---|
| 6 | entry_point main |
---|
| 7 | default_params |
---|
| 8 | { |
---|
| 9 | param_named_auto invProj inverse_projection_matrix |
---|
| 10 | } |
---|
| 11 | } |
---|
| 12 | fragment_program DeferredShading/post/hlsl/SinglePass_ps hlsl |
---|
| 13 | { |
---|
| 14 | source DeferredShading/post/hlsl/SinglePass_ps.hlsl |
---|
| 15 | target ps_2_0 |
---|
| 16 | entry_point main |
---|
| 17 | |
---|
| 18 | default_params |
---|
| 19 | { |
---|
| 20 | param_named_auto proj projection_matrix |
---|
| 21 | param_named_auto ambientColor ambient_light_colour 0 |
---|
| 22 | param_named_auto lightPos0 light_position_view_space 0 |
---|
| 23 | param_named_auto lightDiffuseColor0 light_diffuse_colour 0 |
---|
| 24 | param_named_auto lightSpecularColor0 light_specular_colour 0 |
---|
| 25 | param_named_auto lightPos1 light_position_view_space 1 |
---|
| 26 | param_named_auto lightDiffuseColor1 light_diffuse_colour 1 |
---|
| 27 | param_named_auto lightSpecularColor1 light_specular_colour 1 |
---|
| 28 | } |
---|
| 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.