Quote:
Originally Posted by scriptless
I also saw that example. So fill the surface black and draw a circle at the x/y of the source to light up.. your brigness fades into darkness.. im asumming you used a gfx for this?
and you apply an alpha of .99 or less and the whiter the color the brighter it is?
|
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.