I’m sure you’ve all been waiting for something new and different for me to talk about. All three of you (Hi, mom!). However, in this post I am not going to introduce anything new. Instead, I will combine some of the techniques discussed in previous posts to create an actual useful effect, for once. This …
Picking up where I left off, this post is the second and final part that concerns custom masks, and more specifically, ring shaped masks. This shader uses the same technique as the one shown in the first part in order to make a ring-shaped mask that has similar flexibility as its disk-shaped counterpart. In terms of …
I’ll be straight with you, this is one of the shader areas for which I’m not really comfortable to make tutorials. We’re treading on grounds of code that I can understand but not completely think to write on my own without a reference. The shader I will be demonstrating in this post is pretty small and simple, …
Still on the subject of displacement, this post is about some different stuff one can do with a displacement image effect. Specifically, the shader I will be demonstrating recreates a wavy displacement effect that changes over time, as you can see in the GIF below: It’s a very simple effect that may or may not …
This time we’ll be looking at another really simple image effect that can be used as a building block for more complex and overall sexier effects: Displacement. The name says it all; it just displaces the image by manipulating the UV coordinates. As a result, the output image can be moved in the x and …
Moving just a bit away from image effects, this post, as the title betrays, is about GrabPass in shaders. GrabPass is a special pass of a shader that is used to get the contents of the screen in the place where an object would be rendered. So, basically its purpose is to project whatever’s “behind” …
One of the most popular effects to be used in video games the last years is the effect of chromatic aberration. Chromatic aberration is the effect that can be seen in low-quality camera footage, where on the edges of an object it seems as if the colors have a small offset. Recently it has been …
The concept of this tutorial is really simple. We may not want the image effect to be applied on the whole screen. We may want it in an area of a specific shape. Those are just some simple applications of mask textures in image effects. A mask texture is usually a black and white image used, …
You might (but probably not) have seen my newest game named “Sling Toss” for which you can find information on my projects page. Besides shamelessly promoting my game, I am mentioning it for a simple image effect it features. It’s really nothing special in a technical aspect. But it is something different from the default …
So, I decided to also start this series where I demonstrate and explain a few things about shaders in the Unity game engine in order to keep a documented repository of things I make that I find cool, as well as to actively post more blog posts. At this point I should point out that …