2 color radial gradient.
color1R = inner color red amount
color1G = inner color green amount
color1B = inner color blue amount
color2R = outer color red amount
color2G = outer color green amount
color2B = outer color blue amount
xpos = xposition of effect(0.0 to 1.0) 0.5 is centre
ypos = yposition of effect(0.0 to 1.0) 0.5 is centre
Good Radial for backgrounds, but you can also create some neat scenes with it.
Checkout the included demo, created with a just a black square and circle with the effect added.
(i had to use a seperate circle for the shadow)
Includes fx files and demo capx.
Thanks mate, I like this one. With a bit of modification you can use this for good lighting effects. Will post it when its done..
Develop games in your browser. Powerful, performant & highly capable.
Using GradientRadial to create a lighting effect.
Drag and drop the light.
chrisbrobs , is something wrong with the dropbox files? I get a 404 error.
Re 404 error.
Apologies, I have problems with links, but all should be working now.
chrisbrobs , thank you it works perfectly!
Thanx a lot!
Could some one help me to upload this resouce again?