⏳ Shader tutorials in 60 seconds

1-minute read

Introduction

In the first few months of 2020 I created three 60-second shader tutorials. These tutorials were meant to be quick, to-the-point and dense in information.

Stylized Water Shader

A simple but effective water shader that creates an interesting stylized look. The shader uses the depth buffer for coloring and generating foam. Refraction is added by distorting the used UVs.

The model of the castle was created by mStuff on Sketchfab.

Toon Shading

A basic toon shader with a color gradient and hard specular lighting. A Blinn-Phong lighting model is used for the specular shading.

The model of the Shiba Inu was created by Ida Fabere on Sketchfab.

Retro Effect

A retro pixelation effect that also includes some scanlines. A low resolution render texture is used for the pixelation and a full-screen shader is used for the post-processing effects.

The model of the subway was created by Luc Miramont on Sketchfab.

Sources

All 3 shaders can be downloaded below as Unity packages.

stylized-water

toon-shading

retro-effect