Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Samples/Media/DeferredShadingMedia/deferred_post_minilight.glsl.program @ 1

Last change on this file since 1 was 1, checked in by landauf, 17 years ago
File size: 710 bytes
RevLine 
[1]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.