⏳ Shader tutorials in 60 seconds

Short and sweet shader tutorials.

1 minute read

Jump to heading 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.

Jump to heading 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.

Jump to heading 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.

Jump to heading 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.

Jump to heading Sources

All 3 shaders can be downloaded below as Unity packages.

stylized-water.unitypackage

toon-shading.unitypackage

retro-effect.unitypackage

Published