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:
1.2 KB
|
Rev | Line | |
---|
[25] | 1 | // Materials for rendering to the fat buffer |
---|
| 2 | |
---|
| 3 | // Plain phong |
---|
| 4 | vertex_program DeferredShading/material/glsl/vs glsl |
---|
| 5 | { |
---|
| 6 | source DeferredShading/material/glsl/vs.glsl |
---|
| 7 | } |
---|
| 8 | fragment_program DeferredShading/material/glsl/ps glsl |
---|
| 9 | { |
---|
| 10 | source DeferredShading/material/glsl/ps.glsl |
---|
| 11 | default_params |
---|
| 12 | { |
---|
| 13 | param_named specularity float 0.0 |
---|
| 14 | } |
---|
| 15 | } |
---|
| 16 | fragment_program DeferredShading/material/glsl/notex_ps glsl |
---|
| 17 | { |
---|
| 18 | source DeferredShading/material/glsl/notex_ps.glsl |
---|
| 19 | default_params |
---|
| 20 | { |
---|
| 21 | param_named specularity float 0.0 |
---|
| 22 | param_named colour float3 0.7 0.7 0.7 |
---|
| 23 | } |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | // Normal mapping |
---|
| 27 | vertex_program DeferredShading/material/glsl/nm_vs glsl |
---|
| 28 | { |
---|
| 29 | source DeferredShading/material/glsl/nm_vs.glsl |
---|
| 30 | } |
---|
| 31 | fragment_program DeferredShading/material/glsl/nm_ps glsl |
---|
| 32 | { |
---|
| 33 | source DeferredShading/material/glsl/nm_ps.glsl |
---|
| 34 | default_params |
---|
| 35 | { |
---|
| 36 | param_named specularity float 0.0 |
---|
| 37 | param_named tex0 int 0 |
---|
| 38 | param_named normTex int 1 |
---|
| 39 | } |
---|
| 40 | } |
---|
| 41 | fragment_program DeferredShading/material/glsl/nm_notex_ps glsl |
---|
| 42 | { |
---|
| 43 | source DeferredShading/material/glsl/nm_notex_ps.glsl |
---|
| 44 | default_params |
---|
| 45 | { |
---|
| 46 | param_named colour float3 0.7 0.7 0.7 |
---|
| 47 | param_named specularity float 0.0 |
---|
| 48 | param_named normTex int 0 |
---|
| 49 | } |
---|
| 50 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.