Last month I mentioned a shading trick I was going to try on my old Phantom Organ Player model, and in this post I explain how that worked out. In addition, there are two obscure but cool tips I’ve learned in Unity, one of which may prompt me to return to a past game idea.
I’m not entirely sure what prompted this (possibly restlessness from being under lockdown) but this month I’ve been digging up old 3D models and animations of mine. I’ve been sprucing up old models and putting them on Sketchfab, and am planning to eventually put some (especially animated characters) on Unity’s Asset Store.
While I’ve been primarily a game programmer for a long time now (as is best exemplified by my book about programming in Unity) I actually started in game development as a 3D artist. As a result, I am still fairly skilled in that area, and also have 3D work in very old backups. I mean really really old files, so old that it’s been a non-trivial task converting them into usable forms.
So I’m homebound, just like most everyone else. I was actually already working remotely most of the time so this hasn’t been a huge change for me personally, but the pandemic is causing big difficulties for everyone around me. Like, say, my mom who lives in South Korea, or my sister who is a doctor in New York City.
As for my coding projects, quite a while ago (around a year) I’d seen a reddit post about this interesting approach to generating pixel art equipment. I’ve had it bookmarked all this time, intending to try this myself.
Not a whole lot to talk about this month, since I didn’t really work much on side projects. The one thing I’d like to discuss is something called “texture arrays”.
So I’ve been experimenting a lot lately with rendering lines on the ground, for the map in strategy and tactics games. Last post I already had this effect working for a square grid, but it wouldn’t work for hex grids because it was dependent on drawing pixels to match the grid. I ended that post by brainstorming ways to support hex grids, and have had great success working on the problem since then.
I uploaded a WebGL demo to try, and here’s a video showing the territory outlines shader working on both square and hex grids:
Merry Almost-Christmas! I normally do a blog post every month on the 25th, but I wanted to do this one a few days before then because of the holidays.
Last month I had described my plan to render border lines on the ground (think territory in a strategy game, or movement ranges for tactics games). Here’s an image showing the result of my experimentation:
Hey, looks pretty good if I do say so myself! That’s a smoothly glowing outline drawn on the ground, surrounding a discrete region of a square grid, with the outline nicely rounded at the corners.
A couple months ago I was noodling on techniques for displaying the map in a strategy or tactics game. Well, lately I’ve been thinking a lot about one specific aspect of how those maps work: representing borders on the map.
I’m talking about the colored lines on the ground in this screenshot: