|
Last change
on this file since 134 was
25,
checked in by nicolasc, 18 years ago
|
|
added Media and Config
|
-
Property svn:executable set to
*
|
|
File size:
874 bytes
|
| Line | |
|---|
| 1 | // Auxilary lights |
|---|
| 2 | |
|---|
| 3 | /// Reference material [geometry] |
|---|
| 4 | material DeferredShading/LightMaterial |
|---|
| 5 | { |
|---|
| 6 | technique |
|---|
| 7 | { |
|---|
| 8 | pass |
|---|
| 9 | { |
|---|
| 10 | // Don't disable depth test, because the light doesn't have to be rendered |
|---|
| 11 | // if the bounding geometry is obscured. |
|---|
| 12 | scene_blend add |
|---|
| 13 | depth_write off |
|---|
| 14 | depth_check on |
|---|
| 15 | lighting off |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | texture_unit |
|---|
| 19 | { |
|---|
| 20 | tex_address_mode clamp |
|---|
| 21 | filtering none |
|---|
| 22 | } |
|---|
| 23 | texture_unit |
|---|
| 24 | { |
|---|
| 25 | tex_address_mode clamp |
|---|
| 26 | filtering none |
|---|
| 27 | } |
|---|
| 28 | } |
|---|
| 29 | } |
|---|
| 30 | } |
|---|
| 31 | /// Reference material [quad] |
|---|
| 32 | material DeferredShading/LightMaterialQuad |
|---|
| 33 | { |
|---|
| 34 | technique |
|---|
| 35 | { |
|---|
| 36 | pass |
|---|
| 37 | { |
|---|
| 38 | scene_blend add |
|---|
| 39 | depth_write off |
|---|
| 40 | depth_check off |
|---|
| 41 | lighting off |
|---|
| 42 | |
|---|
| 43 | texture_unit |
|---|
| 44 | { |
|---|
| 45 | tex_address_mode clamp |
|---|
| 46 | filtering none |
|---|
| 47 | } |
|---|
| 48 | texture_unit |
|---|
| 49 | { |
|---|
| 50 | tex_address_mode clamp |
|---|
| 51 | filtering none |
|---|
| 52 | } |
|---|
| 53 | } |
|---|
| 54 | } |
|---|
| 55 | } |
|---|
| 56 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.