A breakdown of a crosshatch shading experiment I built for the web. The scene is rendered in real...A breakdown of a crosshatch shading experiment I built for the web. The scene is rendered in real...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
A breakdown of a crosshatch shading experiment I built for the web.
The scene is rendered in real time in the browser using raymarching, with the final look built up step by step:
— Calculate surface normals — Add Lambertian shading and ambient lighting — Use domain warping to distort and animate the form — Translate the lighting values into crosshatch density
Instead of relying on smooth gradients for the final shading, surfaces facing away from the light receive denser intersecting lines, creating the crosshatched look.
All of this runs directly on the web in real time.
An older experiment, but still one of my favorite explorations of combining procedural graphics, creative coding, and illustration-inspired rendering.
Abdullah's avatar
Eroglu Studios logo
Really cool tutorial and impressive outcome.
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started