
06-26-2011, 07:48 PM
|
|
Registered User
|
Join Date: Jul 2004
Posts: 18
|
|
|
This is something I have been looking for in Graal for a long time, even going so far as developing tile-based lighting to make up for it. Within the last couple of days though, I have had some luck in creating a system just like what you are looking for. I'll post an update in a day or 2 when I work out some of the larger bugs plaguing it. The major problem I've had is the inability to rotate the light images, but everything else looks good. I was able to do additive colored lights without any weird artifacts where they overlap, which would allow for things like a red light overlapping a blue light to produce purple, but a red light crossing a white light remains white, since white already contains red light. It looks just like the image you posted on the right side except there is no white glow around it, it just transitions from transparent to black.
It also allows you to vary the background color, just like how seteffect works, being able to go to basically pitch black for night-time sneaking games and lighten up to transparent for day time. I just started GS2 like 2 days ago so whatever code I post will probably be really hacky, but I'm sure someone else will be able to make something nice out of it. I'll post a couple screenshots later on tonight if I'm able. Not sure if there are posting restrictions on classic accounts. |
|
|
|