Thread: New image mode
View Single Post
  #9  
Old 01-04-2008, 02:49 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Reply With Quote