Articles and Tutorials

Absorption through a volume

Handling the absorption of light passing through a medium.

Refraction in a Sphere

Introducing the basics of ray tracing to create a refraction effect in Unity.

Introduction to Decal Rendering

Looking at two ways to render decals.

Optimising a Compute Shader

Using RenderDoc to help find a faster compute shader for the simple lens flare effect

From Compute Shader to Quads

Using a compute shader to add lens flare highlights in Unity's universal render pipeline

Scriptable Renderer Feature

A barebones sample implementation of a scriptable renderer feature for Unity's scriptable render pipeline.

Dungeon Tile Example

A practical example of dynamic tile selection.

Neighbour Aware Tile Selection

Automatically select the right tile from a tilesheet by examining neighbours.

Bresenham's or Raycasting for Vision

Two similar algorithms are commonly used to check for line of sight in tile-based games. Which should you use?

Pixel Smoke

A retro smoke effect created by pixel fiddling.

Simple Procedural Gradients

A classic way to generate a smooth series of colours.