Unity 3D Shaders for Two Transparent Textures

I like programming. C++ and C# make sense to me. Graphics and shaders, less so. I understand them, I just don’t have much experience with the syntax used in Unity 3D’s shader system.

And so, I was annoyed when I wanted to have a shader that faded between two transparent textures. I assumed that this might be a good way to smooth out 2d animations. But while I could find shaders that would fade between two normal textures, I couldn’t find ANYTHING that supported alpha transparency in those textures.

Anyway, after much experimentation, I made up the shaders myself. They work quite well, too. Sadly, they don’t work well for what I need: the first shader is based on Unity’s transparency shaders, which work great by allowing semi-transparent colors, but this causes errors with rendering order and isn’t good for more complex scenes with a lot of transparent textures. I typically stay away from that and use cutout transparency shaders, which don’t allow semi-transparency, but don’t have the errors I mention. From an animation perspective, the first (transparent) shader looks better, but the second (transparent cutout) is necessary for actual use but doesn’t look as good. I provide both here, hoping it helps some of you out. Maybe I can use it elsewhere…

Continue reading

Tutorial: How to make 2D Traditional Animation in a 3D Game

I forgot to mention it here, but I posted a video tutorial some weeks ago about how exactly I make 2D animation in 3D games, such as in “Drew and the Floating Labyrinth.”

I didn’t think this tutorial was necessary, but some people have asked for one, so I planned to make one for some time now. Sorry it took so long.

Also, I apologize for my quiet and stammering voice, I never was a good public speaker.

Continue reading

“Drew and the Floating Labyrinth” v1.03 (bug fixes)

So far, “Drew and the Floating Labyrinth” has sold over 3,000 copies after one week.

… which is a bit unfair, as almost all of that came from Indie Royale, for being included in their latest indie-centric bundle. But it did get me a bit of new attention and a boost of voters of Steam Greenlight (I’ll talk more in detail about this in another article).

I’ve also said that there are at least a few bugs that exist, and I’ve since added some fixes and small features to the game to hopefully make it better. This update will be available on Desura very soon, and is largely based on what feedback I’ve gotten online and from PAX:

Continue reading

Microsoft Surface Pro 3: A Artist’s / Game Developer’s Review

Warning: I am a indie game developer and an artist by hobby only. Therefore, your requirements may differ depending on usage.

No doubt you’ve seen many reviews and previews of the Microsoft Surface Pro 3 tablet, which Microsoft claims to be the “true” laptop killer (which they’ve said for versions 2 and 1 as well). I’ve been tempted to buy one… who wouldn’t be interested in a tablet that can do everything your computer can? I remember making fun of the original iPad as a oversized-iPhone, only to realize that the larger touchscreen was the perfect device for note-taking and digital sketching. As an artist-wannabe, that meant something. But the only issues with the iPad were that it didn’t have USB connections, and that the OS itself was different (therefore, not compatible with any software I need to use). In fact, given the iPad’s relatively affordable price, I wouldn’t be surprised if Apple ditches the iMac one day for a “professional” iPad to appeal to more consumers.

So the Surface Pro seemed like a great thing. It was a professional tablet with full Windows OS, and unlike most other tablet-PC’s, it came with a pen stylus and a decent processor and other specs, making it a true replacement hardware-wise for your PC. I was torn between the Surface Pro 1 (nice price), Surface Pro 2 (Wacom-pen with latest improvements to tablet), or the new Surface Pro 3 (even more new improvements). I eventually took advantage of Microsoft’s student offer and got a i3-Surface Pro 3 for about $700 (plus tax). Here are my thoughts after a few weeks.

Continue reading

Hand-Drawn 3D Puzzle Platformer “Drew and the Floating Labyrinth” Available Now!

Days after PAX PRIME, I can finally say that “Drew and the Floating Labyrinth” is available for purchase on Desura.com!

This game features traditional animation, unique platforming, and a story with an emotional conclusion.

The game is available for Windows, Mac and Linux, and I’ve confirmed it should be able to run on all these systems (let me know if you have any issues).

Continue reading