Revision 692,
710 bytes
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Line | |
---|
1 | // Auxilary lights
|
---|
2 | vertex_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 | }
|
---|
12 | fragment_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.