
01-04-2008, 02:49 AM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
The problem is the complexity of such kind of effect. Light effects can be done by a simple graphic operation, but for a "negative hole" effect you need a mask (basicly a texture of the size of the screen) which is not supported by video hardware. The only way to achieve such effect is to manually generate a mask, e.g. by creating a polygon and cut out parts which should not be hidden, or by dividing the screen into a grid and display different light effects on each grid depending on how much light falls onto that spot. |
|
|
|