source: OGRE/trunk/ogrenew/Samples/Media/DeferredShadingMedia/deferred_post_minilight.hlsl.program @ 692

Revision 692, 781 bytes checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1// Auxilary lights
2vertex_program DeferredShading/post/hlsl/LightMaterial_vs hlsl
3{
4        source DeferredShading/post/hlsl/LightMaterial_vs.hlsl
5        target vs_1_1
6        entry_point main
7        default_params
8        {
9                param_named_auto worldViewProj worldviewproj_matrix
10                param_named_auto invProj inverse_projection_matrix
11                param_named_auto vpWidth viewport_width
12                param_named_auto vpHeight viewport_height
13        }
14}
15fragment_program DeferredShading/post/hlsl/LightMaterial_ps hlsl
16{
17        source DeferredShading/post/hlsl/LightMaterial_ps.hlsl
18        target ps_2_0
19        entry_point main
20
21        default_params
22        {
23                param_named_auto worldView worldview_matrix
24               
25                param_named_auto lightDiffuseColor custom 1
26                param_named_auto lightSpecularColor custom 2
27                param_named_auto lightFalloff custom 3
28        }
29}
Note: See TracBrowser for help on using the repository browser.