Tag: shader

  • Seam Carving

    Seam Carving

    Seam carving is a technique that can be used to resize images, which is also known as liquid rescaling. Compared to the traditional resizing tool, it does not “stretch” the image, but it selectively removes the pixels which contain the least amount of information

  • Car Paint Shader: Thin-Film Interference

    Car Paint Shader: Thin-Film Interference

    This post completes the journey started in The Mathematics of Thin-Film Interference, by explaining how to turn the equations previously presented into actual shader code. You can find the complete series here: A link to download the Unity project used in this series is also provided at the end of the page.

  • The Mathematics of Thin-Film Interference

    The Mathematics of Thin-Film Interference

    This post continues our journey through the Mathematical foundations of iridescence. This time, we will discuss a new way in which material can split light: thin-film interference. This is how bubbles (and car paint) get their unique reflections. You can find the complete series here: A link to download the Unity project used in this…

  • Topographical Maps in Unity: Edge Detection

    Topographical Maps in Unity: Edge Detection

    This tutorial will teach you how to recreate a very popular effect in games: topographical maps. This is a two-part series, which will cover all the necessary aspects—from the Maths to the shader code—to make this possible: In this second part, we will focus on the edge detection algorithm that will be used to draw…

  • Topographical Maps in Unity: Terrain Shading

    Topographical Maps in Unity: Terrain Shading

    This tutorial will teach you how to recreate a very popular effect in games: topographical maps. This is a two-part series, which will cover all the necessary aspects—from the Maths to the shader code—to make this possible: A link to download the full Unity package is also available at the end of the tutorial.

  • Journey Sand Shader: Ripples

    Journey Sand Shader: Ripples

    This is the sixth part of the online series dedicated to Journey Sand Shader. In this final post, we will recreate the typical sand ripples that appear due to the dune-wind interaction.

  • Journey Sand Shader: Glitter Reflection

    Journey Sand Shader: Glitter Reflection

    This is the fifth part of the online series dedicated to Journey Sand Shader. In this fifth post, we will recreate the shimmering reflections that are typically seen on sand dunes. Shortly after the publication of this series, Julian Oberbeck and Paul Nadalack made their own attempt at recreating a Journey-inspired scene in Unity. You…

  • Journey Sand Shader: Specular Reflection

    Journey Sand Shader: Specular Reflection

    This is the fourth part of the online series dedicated to Journey Sand Shader. In this fourth post, we will focus on the specular reflections that make the dunes look like an ocean of sand.

  • Journey Sand Shader: Sand Normal

    Journey Sand Shader: Sand Normal

    This is the third part of the online series dedicated to Journey Sand Shader. In this third post, we will focus on the normal mapping that will turn smooth 3D models into sandy dunes.

  • Journey Sand Shader: Diffuse Colour

    Journey Sand Shader: Diffuse Colour

    This is the second part of the online series dedicated to Journey Sand Shader. In this second post we will focus on the lighting model used in the game, and how to recreate it in Unity.