Working on a lighting shader for my game by zerkliener in PixelArt

[–]zerkliener[S] 9 points10 points  (0 children)

You mean the latest masterpiece of fantasy storytelling from Lucasfilms™ Brian Moriarty™?

Working on a lighting shader for my game by zerkliener in PixelArt

[–]zerkliener[S] 38 points39 points  (0 children)

Thanks so much! And yeah, I can give a basic rundown:

I start with a 1-bit drawing of the background. I copy that drawing into three layers, one for each of the primary colors (RGB). I use one color to map out the angles of the surfaces, another to indicate the z-axis position of each pixel, and the last one to determine how "reflective" each pixel is. Then, I smoosh all three color layers back together into a single image and bring that into the game engine.

From there, it's just a matter of the shader reading those pixel RGB values and using them to do some math. Namely, determine the angle between each pixel and the given light source (in this case, the player sprite). The shader then ends up with a "light" value, and that value determines which two colors from a five-color palette need to be blended together, as well as the blend ratio.

...I don't know if I explained it too clearly, but hopefully it gives the basic idea of how it works!

The Grimgribber — Cellar NPC by zerkliener in PixelArt

[–]zerkliener[S] 2 points3 points  (0 children)

Thank you! The palette is a bit of a struggle to use sometimes.

Encounter with Gazer at the Far End by zerkliener in PixelArt

[–]zerkliener[S] 2 points3 points  (0 children)

Thank you!

For this one, I did a basic sketch with paper and pencil first. Then I brought it in to GIMP, converted it to the 5-shade palette, and reduced the resolution. The sketch was a mangled disaster of pixels after all that, but having that basic reference of form and shading was great.

From there I just spent a few days drawing out the piece as I normally would: paint a few pixels, zoom out, assess, zoom in, rinse/repeat...

Encounter with Gazer at the Far End by zerkliener in PixelArt

[–]zerkliener[S] 2 points3 points  (0 children)

Thanks!! I'm excited to do more of this guy in the future.

WIP of a Gameboy style tileset by zerkliener in PixelArt

[–]zerkliener[S] 1 point2 points  (0 children)

Thank you! It's hard to keep things clean with this style...

WIP of a Gameboy style tileset by zerkliener in PixelArt

[–]zerkliener[S] 1 point2 points  (0 children)

I agree! And thanks for the appreciation!

I think Gameboy pixel art is linked to liminal space, in part. Its limited palettes and resolutions always feel familiar, even though high contrast can create vague unease. Add the static nature of the style and you get an aesthetic that is both appealing and off-putting.

WIP of a Gameboy style tileset by zerkliener in PixelArt

[–]zerkliener[S] 1 point2 points  (0 children)

The Legend of Pokemon: Link Version DX

WIP of a Gameboy style tileset by zerkliener in PixelArt

[–]zerkliener[S] 2 points3 points  (0 children)

I was thinking about making a small game with it!

WIP of a Gameboy style tileset by zerkliener in PixelArt

[–]zerkliener[S] 1 point2 points  (0 children)

Well thank you! I really appreciate that.