Posts

Bluenoise Generator For Bigger Textures

WEBGPU Bluenoise generator for bigger textures, using a tiled void and cluster variant.

07 May 2024

Raytracing In 2D, Using A GPU Generated BVH

A method of 2D raytracing that is independant of the CPU, making use of WebGPU along the way.

28 December 2023

Hybrid Distance Field / Raytracing In 2D

A look at how to combine the performance of distance fields, with the precision of raytracing.

06 December 2023

Preserving Small Values

A low level deep dive into approximating exponents to help preserve smaller values when quantized, by exploiting the inner workings of IEEE-754 floats.

30 October 2023

2D Circular Shadow Mapping

How to shadow map pointlights in a 2D scene using circles, in a similar way to traditional 3D shadow mapping, then extending that concept to using planes.

10 July 2023

Blocking 2D Player Visibility

How to shadow parts of a 2D scene that a player (or players) cannot see using a project and stencil method of occlusion.

28 June 2023

Raytracing In 2D

How to go about raytracing a 2D scene on the GPU, using purely vertex and fragment shaders.

20 June 2023

Various Rendering Related Visualisations

A list of geogebra visualisations I've made over the years to help with building intuition.

31 January 2023

Simplifying Drawing Numbers On The GPU

Encoding numbers in a fixed format, to make drawing them less of a pain.

20 January 2023

Bluenoise Generator

WEBGL2 Bluenoise generator, using a void and cluster variant.

30 December 2022