OSL Shaders

This page gives an overview of the OSL shaders published on my blog. It’s not entirely complete but the most popular ones are here. Each item contains a link to the blog post together with a short description. The shader code is almost
always part of the blog post.

Hexagon
Create all sorts of hexagonal patterns
Edge
A bevel shader (gives the illusion of rounded edges)
Cubic splines
Enjoy the versatillity of cubic splines
Snowflakes
Random snowflake patterns
Wiggles
Random curly noodles based on splines
Sprinkles
Colorful sugar or chocolate sprinkles
Lace
A shader for lace curtains or other sheer fabric
Voronoi
How to use some hidden noise functions
Irregular stones
Create irregular stone tilings
Wood
Wood with knots
Stars
A simple starfield shader
Flow noise
Create noise patterns with advection
X-ray
create the eerie glow of x-ray images
Fabric
Simulating the appearance of woven fabric with gabor noise