Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/Tutorial/Media/DeferredShadingMedia/deferred_post_onepass.glsl.program @ 41

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: 867 bytes
Line 
1// Post processors
2
3vertex_program DeferredShading/post/glsl/vs glsl
4{
5        source DeferredShading/post/glsl/vs.glsl
6        default_params
7        {
8                param_named_auto invProj inverse_projection_matrix
9        }
10}
11fragment_program DeferredShading/post/glsl/SinglePass_ps glsl
12{
13        source DeferredShading/post/glsl/SinglePass_ps.glsl
14        default_params
15        {
16                param_named_auto proj projection_matrix
17                param_named_auto ambientColor ambient_light_colour 0
18                param_named_auto lightPos0 light_position_view_space 0
19                param_named_auto lightDiffuseColor0 light_diffuse_colour 0
20                param_named_auto lightSpecularColor0 light_specular_colour 0
21                param_named_auto lightPos1 light_position_view_space 1
22                param_named_auto lightDiffuseColor1 light_diffuse_colour 1
23                param_named_auto lightSpecularColor1 light_specular_colour 1
24                param_named tex0 int 0
25                param_named tex1 int 1
26        }
27}
Note: See TracBrowser for help on using the repository browser.