Author Topic: Origin of Lemmings  (Read 2751 times)

0 Members and 1 Guest are viewing this topic.

Offline movAX13h

  • Posts: 1
    • View Profile
Origin of Lemmings
« on: May 16, 2013, 08:36:25 PM »
Hi,

I've made a Lemmings + Space Invader fragment shader (on a 2D plane) on ShaderToy recently that I wanted to share:
Everything that is done in the shader is calculated based on the X and Y coordinate of all pixels of the canvas. The program is run for every single pixel and calculates the pixel color.

If you have no sound, you can change the last character in
#define I_HAVE_NO_WEB_AUDIO 0
to 1 (in the shader source code) and hit the play button.

By default it takes time and beat from the song that is played along.

It requires a modern browser like Chrome or Firefox (WebGL)
https://www.shadertoy.com/view/4sXGDH


Have a nice day!
movAX13h

Offline Pooty

  • Posts: 359
    • View Profile
Re: Origin of Lemmings
« Reply #1 on: May 17, 2013, 12:01:34 AM »
This is awesome! I didn't realize how powerful WebGL seems to be. Converting an image into four colours and pasting it as the ground is a nice touch. In some cases, it seems to work really well.

Thanks for sharing this with us. I loved it. :thumbsup:
SEGA Master System version
100% on 110/120 levels (92%). Other levels [Lemmings lost]:
Fun 03 [3], 06 [2], 18 [5]   
Taxing 19 [5], 27 [1], 28 [3]
Tricky 15 [5], 17 [2]
Mayhem 19 [7], 26 [10]

Offline GuyPerfect

  • Posts: 363
    • View Profile
Re: Origin of Lemmings
« Reply #2 on: May 17, 2013, 01:09:01 AM »
I didn't realize how powerful WebGL seems to be.
Well I would hope so. It's hardware-accelerated. (-:

Offline Pooty

  • Posts: 359
    • View Profile
Re: Origin of Lemmings
« Reply #3 on: May 17, 2013, 05:59:24 AM »
Well I would hope so. It's hardware-accelerated. (-:
The hardware acceleration seems to be well executed as well. I'm glad to finally see that on the web.
SEGA Master System version
100% on 110/120 levels (92%). Other levels [Lemmings lost]:
Fun 03 [3], 06 [2], 18 [5]   
Taxing 19 [5], 27 [1], 28 [3]
Tricky 15 [5], 17 [2]
Mayhem 19 [7], 26 [10]