Page 1 of 1

How to Create a Limbo like atmosphere in Love2d ?

Posted: Fri Jul 08, 2016 3:32 pm
by aswinmohanme
Consider me overambitious , but I wanted to make a limbo like game in Love2d . After a Google search I found this https://vimeo.com/43841761. This is so awesome.

My question is how did the creator achieve this effect in the video. I read the Description and none of them made any sense. So I was thinking if the good souls here could help me out .

Cheers! and Thanks in Advance :D

Re: How to Create a Limbo like atmosphere in Love2d ?

Posted: Fri Jul 08, 2016 4:52 pm
by Tanner
Parallax scrolling: https://en.wikipedia.org/wiki/Parallax_scrolling
Bloom shader: https://gist.github.com/BlackBulletIV/4218802
Film grain shader: https://github.com/mattdesl/glsl-film-grain
God rays shader: http://fabiensanglard.net/lightScattering/

"pixeleffect compositing pipeline" probably just means that he combines all those shader effects together.

Re: How to Create a Limbo like atmosphere in Love2d ?

Posted: Fri Jul 08, 2016 6:07 pm
by cval
63823709.jpg
63823709.jpg (93.24 KiB) Viewed 3100 times
No, seriously, it is just what it is. Except for parallax camera. Sorry, i would not be able to share technical details (as there is a forum topic where they belong) as well as few camera libs out there to help with that. Worth mentioning, though, that once you know how to get separate effects (spritebatch/canvas parallaxing, film grain, godrays, bloom), you combine them by flipping canvases around and using one as an input for another... And then get the final image, hopefully at decent framerate.

Re: How to Create a Limbo like atmosphere in Love2d ?

Posted: Fri Jul 08, 2016 6:51 pm
by zorg
One could also optimize shaders by writing them in such a way, that they could be dynamically concatenated together modularry, then creating one shader per combination; less canvas switches and draw calls, but it's very technical how one would approach this.