Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/Tutorial/Media/DeferredShadingMedia/deferred_post_multipass.glsl.program @ 69

Last change on this file since 69 was 25, checked in by nicolasc, 17 years ago

added Media and Config

  • Property svn:executable set to *
File size: 705 bytes
Line 
1// Post processors
2fragment_program DeferredShading/post/glsl/Ambient_ps glsl
3{
4        source DeferredShading/post/glsl/Ambient_ps.glsl
5       
6        default_params
7        {
8                param_named_auto ambientColor ambient_light_colour 0           
9                param_named_auto proj projection_matrix
10                param_named tex0 int 0
11                param_named tex1 int 1
12        }
13}
14fragment_program DeferredShading/post/glsl/GlobalLight_ps glsl
15{
16        source DeferredShading/post/glsl/GlobalLight_ps.glsl
17       
18        default_params
19        {
20                param_named_auto lightPos0 light_position_view_space 0
21                param_named_auto lightDiffuseColor0 light_diffuse_colour 0
22                param_named_auto lightSpecularColor0 light_specular_colour 0
23                param_named tex0 int 0
24                param_named tex1 int 1
25        }
26}
Note: See TracBrowser for help on using the repository browser.