Category: Tutorial
-

How to Snap to Grid in Unity3D
—
Despite Unity3D being such an advanced framework, I am sometimes puzzled by its lack of basic features. Especially when working with 2D games, the lack of a proper snap to grid option is simply crazy. Luckily, Unity3D allows to extend its basic interface to add new behaviours. This post will explain how to add a customisable snap to grid option…
-

How to DeepDream on Twitter: @DeepDreamThis
—
This post will guide you to create your own deepdream on Twitter: and yes, it’s as easy as tweeting a picture to @DeepDreamThis. Deep dreams have flooded the Internet. I mean, literally flooded the Internet. Behind this bizarre filter lies one of the most advanced neural network developed by Google Research. There are several services online dedicated to the…
-

Screen shaders and image effects in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] If you are using Unity3D you may be familiar with image effects. They are scripts which, once attached to a camera, alter its rendering output. Despite being presented as standard C# scripts, the actual computation is done using shaders. So far, materials have been applied…
-

Vertex and fragment shaders in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] The previous three posts of this tutorial have introduced surface shaders and how they can be used to specify physical properties (such as albedo, gloss and specular reflections) of the materials we want to model. The other type of shader available in Unity3D…
-
Surface shaders in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5 This is the second part of a series of posts on Unity3D shaders, and it will focus on surface shaders. As previously mentioned, shaders are special programs written in a language called Cg / HLSL which is executed by GPUs. They are used to draw triangles of your 3D…
-
How to find the main colours in an image
—
In a previous post, I explained how I grabbed all the screenshots from #ScreenshotSaturday. If that was something relatively easy to implement, ordering them by colour is slightly trickier. The problem here is that there is no standard way to find the main colours in an image. Quite the opposite, different techniques will produce very different results. Long…
-
Protected: Practical trigonometry for 2D games
There is no excerpt because this is a protected post.
-

Fur shading in Unity3D
To view this content, you must be a member of Alan Zucconi’s Patreon at $5 or more Unlock with PatreonAlready a qualifying Patreon member? Refresh to access this content.
-

Volumetric Rendering: Volume Raycasting
To view this content, you must be a member of Alan Zucconi’s Patreon at $8 or more Unlock with PatreonAlready a qualifying Patreon member? Refresh to access this content.
-

Volumetric Rendering: Hard & Soft Shadows
To view this content, you must be a member of Alan Zucconi’s Patreon at $5 or more Unlock with PatreonAlready a qualifying Patreon member? Refresh to access this content.
