Author: Joe Hocking

Transparency with Depth Sorting

A classic rendering problem in realtime 3D graphics is overlapping transparent surfaces. Well, I recently wrote a shader for Unity that renders alpha transparency with correct depth sorting. My solution isn’t unique, but I don’t see a lot of people talking about it (I certainly didn’t know it before) so hopefully this will help people out.

The depth sorting in this shader still only works well for hard-edged cutouts, but you can mix cutouts with smooth semi-transparency in the alpha channel, and any rendering glitches will be restricted to only the semi-transparent parts. This is a huge improvement over having those rendering glitches apply to the entire model, and hopefully my explanations give you a full appreciation for the tradeoffs being made.

Continue reading “Transparency with Depth Sorting”

Discovering Sprytile

I finally started on the 3rd edition of Unity in Action at the end of last year, so between that and work I don’t really have much bandwidth lately for any other projects. I haven’t abandoned Eschatown, but I’m probably not going to do any work on that game until spring. At that point I’m planning to quickly wrap up the art (especially character sprites done with Character Creator 2D), and then release it.

Continue reading “Discovering Sprytile”

Eschatown’s Prototype

We’ve just uploaded a prototype for you to download and try. Just in time for Thanksgiving!

Just go to the game’s page for both Windows and Mac builds of Eschatown: https://midhavengames.itch.io/eschatown

This version is still very early and rough, and very few sprites are in the game so far. However the writing and systems are pretty far along, so we are testing balance with this prototype. Let me know what you find!

Continue reading “Eschatown’s Prototype”

Developing the Interface

I’m starting to flesh out the graphical interface for my as-yet unnamed RPG. At this point I’ve implemented pretty much all the systems for the game, so tying everything together with a cohesive and attractive interface is my next main challenge.

For example, this animation shows off equipping weapons. First I go into combat before equipping any weapons, and you can see both my Attack stat and that there’s only one action option at the bottom. Then I equip an assault rifle, and you can see I now have a Shoot option in combat.

Continue reading “Developing the Interface”

Working on an RPG: Generating the Map

I’m now over a month into the basic RPG I mentioned in the last post, so a bunch of systems are in place. In my last post I talked a lot about the narrative system Ink, but this time I want to get back to what is a frequent topic on my devlog: procedural generation of maps. Here is what I came up with for the map of city regions:

rpg-regions-map

(The weird batches of horizontal lines are actually lines of text. That’s just to test applying textures to quads strewn about the map, and will eventually be replaced with images of buildings and trees.)

Continue reading “Working on an RPG: Generating the Map”