Post

 Resources 

Console


Blue filter... Rag on a Stick (11 replies, 0 views) (2000-May-26)
-
It seems as though they are just running the day picture through a blue filter. To do this, take a pixels rgb values and multiply red & green by .95 (or something else lower than 1) and multiply blue by 1.05, something like that will work. The only problem is to get it running up to speen, as the previous method involves checking each individual pixel. You could draw a night and a day tile and just have two tilesets, or you could draw a day tileset and upon loading, the program works out the night tileset using a blue filter. Or you could draw a big blue rectangle and alpha blit it over everything using a 3rd party thing, like David Goodlads library or you could use the D3D alpha blend thing. But these methods are fairly slow compared to the last. hth


-
Up One Level | Back to Forum

RE: Blue filter... The Gilb (10 replies) (2000-May-27)
RE: Blue filter... Carl (9 replies) (2000-May-27)
Check this one out.. Warder (8 replies) (2000-May-27)
RE: Check this one out.. Carl (7 replies) (2000-May-27)
Uh oh, need help then.. Warder (6 replies) (2000-May-27)
Hi............ Silent~Ice (0 replies) (2000-May-27)
RE: Uh oh, need help then.. David Goodlad (4 replies) (2000-May-28)
RE: Uh oh, need help then.. Carl (2 replies) (2000-May-28)
RE: Uh oh, need help then.. David Goodlad (1 reply) (2000-May-28)
RE: vbDABL Steven Blom (0 replies) (2000-May-29)
goodie goodie goodie. Warder (0 replies) (2000-May-28)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 67 visitors within the last 20 minutes
RSS News Feed