Skip to main content

Open Source Unity Projects

Project Unity Open Source Assets
Table of Contents

Snake 3D #

This is a 3D version of the popular game snake, which I initially wrote in a couple of days as part of technical test for a job application, but later decided to open source and use as a code example.

Screenshot of a 3D Snake game made in Unity.

Since the game’s mechanics are rather simple, I tried making it more interesting by adding some nice lighting, visual effects and feedback.

Even though my coding style has evolved quite a bit since then, I think it’s still a good example of how I write and architect code in Unity.

🔗 Links #


A simple 3D snake game with a minimal voxel art style made in Unity


Cloud Shadows Asset #

This is a simple rendering asset that used to be available on the Unity Asset Store, but which I’ve decided to open source once it became too time consuming to maintain with the introduction of Unity’s rapidly evolving Scriptable Render Pipeline (SRP) system.

Screenshot of the cloud shadows asset in Unity’s Tanks demo project.

This asset allows user to easily add animated cloud shadows to 2D or 3D outdoor environments. It basically works by rendering the cloud shadows to a render texture which is assigned to the light cookie of a directional light.

🔗 Links #


Animated cloud shadows asset for Unity


GPU Line of Sight Asset #

This asset allows users to easily add line of sight / field of view visualization to a 3D project in Unity.

Screenshot of the GPU Line of Sight Unity asset.

All rendering is done on the GPU, making this system very fast (compared to similar CPU based implementations) and allowing for an unlimited amount of line of sights sources.

This asset is a lot more complex than the cloud shadows one, and also has a lot more functionality. The line of sight visualization is achieved by using a technique very similar to shadow mapping.

It also used to be available on the Unity Asset Store, and was open sourced for similar reasons.

🔗 Links #


GPU Line of Sight / Field of View visualization for Unity