Quote:
Originally Posted by DustyPorViva
1) Creative drawing panel with the size of screenwidth/quality,screenheight/quality
2) fill black
3) draw image for each light source(white circles, with transparency(semi-transparency for softer edges) by via screenx(posx,posy)*quality,screeny(posx,posy)*qual ity
4) render drawing panel at 0,0 and at the scale of quality
I haven't looked at the script in a long time though, so I could be making mistakes... but as for flexibility? You're kind of screwed. Last time I tried this it was either totally opaque, or 99% transparent. Those were the only levels of transparency it would allow.
Honestly, you'd be better off looking at the script yourself, as I'm working from memory here.
|
I will do some searching to see if I can find it I guess. I have idea's that might work.. but im not sure the math on it. What if I did seteffect() with this? I know the blackness would be darker. Not sure the math on that tho..
Or just making the center of the white space "softer" ?
EDIT:
Oh, I see what you mean. I have to make the darkness totally black. Hmm. I would need to play with the script to see what I can come up with.
Might this be what you speak of?
http://forums.graalonline.com/forums...t=DustyPorViva