Last change
on this file since 44 was
44,
checked in by bknecht, 17 years ago
|
merge from tutorial branche to trunk
|
-
Property svn:executable set to
*
|
File size:
732 bytes
|
Rev | Line | |
---|
[25] | 1 | // Post processors |
---|
| 2 | fragment_program DeferredShading/post/hlsl/Ambient_ps hlsl |
---|
| 3 | { |
---|
| 4 | source DeferredShading/post/hlsl/Ambient_ps.hlsl |
---|
| 5 | target ps_2_0 |
---|
| 6 | entry_point main |
---|
| 7 | |
---|
| 8 | default_params |
---|
| 9 | { |
---|
| 10 | param_named_auto ambientColor ambient_light_colour 0 |
---|
| 11 | param_named_auto proj projection_matrix |
---|
| 12 | } |
---|
| 13 | } |
---|
| 14 | fragment_program DeferredShading/post/hlsl/GlobalLight_ps hlsl |
---|
| 15 | { |
---|
| 16 | source DeferredShading/post/hlsl/GlobalLight_ps.hlsl |
---|
| 17 | target ps_2_0 |
---|
| 18 | entry_point main |
---|
| 19 | |
---|
| 20 | default_params |
---|
| 21 | { |
---|
| 22 | //param_named_auto invProj inverse_projection_matrix |
---|
| 23 | |
---|
| 24 | param_named_auto lightPos0 light_position_view_space 0 |
---|
| 25 | param_named_auto lightDiffuseColor0 light_diffuse_colour 0 |
---|
| 26 | param_named_auto lightSpecularColor0 light_specular_colour 0 |
---|
| 27 | } |
---|
| 28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.