Page 1 of 2

Smooth lighting without WebGL

PostPosted: Thu Mar 14, 2013 11:02 pm
by buddy40
I was just trying out some methods to do lighting without webgl, and this is where I am at.

Link

Capx

Any opinions? It's obviously not as good as using shaders, but I like it.

Texture is from the web.buddy402013-03-15 00:29:07

Re: Smooth lighting without WebGL

PostPosted: Thu Mar 14, 2013 11:06 pm
by Kuso
Looks great. Is my opinion.

Re: Smooth lighting without WebGL

PostPosted: Thu Mar 14, 2013 11:42 pm
by SullyTheStrange
Looks great! Now how'd you do it?

Re: Smooth lighting without WebGL

PostPosted: Thu Mar 14, 2013 11:53 pm
by czar
That looks good @buddy40

Backing up @Sullythestrange, how did you do that?

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 12:14 am
by zendorf
Yes, very cool. Is this done without any plugins...enquiring minds want to know!

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 12:25 am
by Joannesalfa
@buddy40 nice trick!

for anyone who wants to know how did this

He's using texture mask to overlay and 2 lights would make it dynamic scale and movement, i doubt how he did it about the lights.Joannesalfa2013-03-15 00:26:44

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 12:27 am
by buddy40
Yeah, that's correct. I will add the capx to the OP :)

The mask is easy to make in Photoshop if you base your selection on the greyscale, with feathering.buddy402013-03-15 00:30:36

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 12:36 am
by Joannesalfa
Ha! you're using additive blend effect!

Before It made me wonder how did 2 lights look like dynamic.

Thanks for sharing .capx

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 12:42 am
by lemo
Hey interesting indeed

Re: Smooth lighting without WebGL

PostPosted: Fri Mar 15, 2013 4:53 am
by RandomExile
Really cool ... can you imagine implementing a sunrise like this on a sidescroller like Out of This World?