Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/Tutorial/Media/DeferredShadingMedia/deferred_post_minilight.glsl.program @ 84

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

added Media and Config

  • Property svn:executable set to *
File size: 710 bytes
Line 
1// Auxilary lights
2vertex_program DeferredShading/post/glsl/LightMaterial_vs glsl
3{
4        source DeferredShading/post/glsl/LightMaterial_vs.glsl
5        default_params
6        {
7                param_named_auto invProj inverse_projection_matrix
8                param_named_auto vpWidth viewport_width
9                param_named_auto vpHeight viewport_height
10        }
11}
12fragment_program DeferredShading/post/glsl/LightMaterial_ps glsl
13{
14        source DeferredShading/post/glsl/LightMaterial_ps.glsl
15        default_params
16        {
17                param_named_auto worldView worldview_matrix
18               
19                param_named_auto lightDiffuseColor custom 1
20                param_named_auto lightSpecularColor custom 2
21                param_named_auto lightFalloff custom 3
22               
23                param_named tex0 int 0
24                param_named tex1 int 1
25        }
26}
Note: See TracBrowser for help on using the repository browser.