Shader Experiments

twitterlinkedin

Ray Marching / Ray Tracing

Ray Marching Soft Shadows

Ray Marching Soft Shadows

This is a simple ray marcher that renders dynamic soft shadows.

Liquid Sphere

Liquid Sphere

An Example of Noise + Ray Marching

Simple GPU Ray Tracer

Simple GPU Ray Tracer

Ray Tracer Framework running on the GPU. Supports multiple materials, reflection, refraction, and hard shadows.

Morphing Ray Marched Cube

Morphing Ray Marched Cube

Simple ray marched cube.

Noise Based Shaders

Trinity

Trinity

This shader demonstrates how to generate arbitrary laser beam lines.

Warped Hex

Warped Hex

Uses voronoi to generate an interesting effect.

Crazy Portal

Crazy Portal

Another portal effect that uses voronoi noise.

Voronoi Portal

Voronoi Portal

This is an example of using the Voronoi texture basis function along with Fractional Brownian Motion.

Colorful Voronoi Noise

Colorful Voronoi Noise

A simple example of cellular based Voronoi noise.

Energy Field

Energy Field

A slight variation of the Lightning shader using multiple passes of Fractional Brownian Motion.

Stormy Night

Stormy Night

How to implement lightning on the GPU using noise and lines.

Majestic Eye

Majestic Eye

Uses perlin noise and gpu particles

Christmas Shader

Christmas Shader

Uses perlin noise and pulse functions.

Digitized Worley Noise

Digitized Worley Noise

Uses Worley Noise

General Experiments

Majestic Wire Cube

Majestic Wire Cube

This example demonstrates how to create 3d objects using procedural lines in a way similar to how we do it in the game industry.

Kirby

Kirby

I wrote a tool that can generate a procedural glsl shader from an image file. This example demonstrates simple sprite animation.

Mario

Mario

I wrote a tool that can take an image and convert it into a procedural glsl shader.

Flower Matrix

Flower Matrix

The atan function can be used to create some really cool effects!

Gradient Ripple Effect

Gradient Ripple Effect

Shows how to exploit a sine wave to make ripples.

Endless Tunnel

Endless Tunnel

Uses polar coordinates and a procedural texture to generate a 3d tunnel.

Energy Sphere

Energy Sphere

Fish eye example

Ripple

Ripple

Uses some simple trig to generate a ripple.

Glowing Line

Glowing Line

A very simple glowing line example.

Glowing Lines

Glowing Lines

An example of some simple trig to generate cool light saberish lines.

GPU Particle Effects

GPU Particle

GPU Particle

Demonstrates how to create a GPU particle in a shader.

GPU Particle Effect Example

GPU Particle Effect Example

Demonstrates how to procedurally generate particles that can animate on the GPU.

Procedural Textures

Procedural Checkerboard Texture

Procedural Checkerboard Texture

Demonstrates how to generate a checkerboard texture procedurally in a shader.

Ramp Texture (For Toon Shading)

Ramp Texture (For Toon Shading)

This shader allows you to very easily generate many permutations of a ramp texture typically used for a toon shader by adjusting just a few simple variables.

Fractals

Trig Fractal

Trig Fractal

This is a simple fractal generated through the use of the tan function.

twitterlinkedin
Share It!