Skip to content
0:00 / 0:00

#raymarching#shadertoy#glsl

Shader Coding: Ray Marching Tips & Tricks

The Art of Code

60K subscribers • 25 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2019 to 2026.

Intermediate. Assumes working knowledge.

59K views7 years ago2 recommendations

Graphics and audioRenderingGPUs, shaders and CUDA

A tutorial sharing practical tips and tricks for implementing and optimizing ray marching and signed distance fields in GLSL.

Twitter: @The_ArtOfCode Facebook: facebook.com/groups/theartofcode/ Patreon: patreon.com/TheArtOfCode ShaderToy: shadertoy.com/user/BigWIngs PayPal Donation: paypal.me/theartofcode Shader starting point: shadertoy.com/view/wdGGz3 Shadertoy for absolute beginners (if you've never shader coded before): youtu.be/u5HAYVHsasc Ray Marching for dummies (building a ray marcher from scratch): youtu.be/PGtv-dBi2wE Simple shapes explained (sphere, cube, cylinder, torus): youtu.be/Ff0jJyyiVyw Basic operators (translate, rotate, scale): youtu.be/AfKGMUDWfuE

Why it's here

2 people recommend this

What people say. Recommended as a helpful resource for stabilizing and improving signed distance field rendering.

u/rex-j-win r/gameenginedevs • Recommends

On “Updates to my SDF Game Engine!”

Oh boy I love questions like this! Obviously check out the GOAT Inigo Quilez's page for basic SDF rendering techniques: https://iquilezles.org/articles/ This helped me get my SDF rendering a bit more stable: [video Mike Turitzin has a beautiful SDF engine he's building: [video Here are some other helpful resources I found on specific SDF rendering techniques: Skipping Spheres algorithm: https://diglib.eg.org/server/api/core/bitstreams/0dd5043c-6ac0-4b83-b3d2-d0b1ad34afba/content#3#1 Area lights using cone tracing: https://diglib.eg.org/server/api/core/bitstreams/08a7b5a8-876f-48ab-ab9a-456e94b15fe4/content#1#1 CTSS (Cone-traced super sampling, an anti-aliasing technique for SDFs s…

u/CountFrolicin r/GraphicsProgramming • Recommends

Shader Coding: Ray Marching Tips & Tricks