View shader on Shadertoy - Published on 2017-07-30
In this tutorial you will learn how to render a 3d-scene in Shadertoy using distance fields.
The tutorial itself is created in Shadertoy, and is rendered using ray marching a distance field.
The shader studied in the tutorial can be found here: https://www.shadertoy.com/view/4dSBz3
Created for the Shadertoy Competition 2017
Most of the render code is taken from: 'Raymarching - Primitives' by Inigo Quilez.
You can find this shader here: https://www.shadertoy.com/view/Xds3zN
Source: Buffer A.glsl
- iChannel0: Buffer A (linear, clamp, vflipped)
- iChannel1: keyboard (linear, clamp, vflipped)
- iChannel2: texture (mipmap, repeat, vflipped)
Source: Buffer B.glsl
- iChannel0: Buffer A (linear, clamp, vflipped)
Source: Buffer C.glsl
- iChannel0: Buffer A (linear, clamp, vflipped)
- iChannel1: Buffer B (linear, clamp, vflipped)
- iChannel2: Buffer C (linear, clamp, vflipped)
Source: Buffer D.glsl
- iChannel0: Buffer A (linear, clamp, vflipped)
- iChannel1: Buffer D (linear, clamp, vflipped)
- iChannel2: texture (mipmap, repeat, vflipped)
Source: Image.glsl
- iChannel0: Buffer A (linear, clamp, vflipped)
- iChannel1: Buffer B (linear, clamp, vflipped)
- iChannel2: Buffer C (linear, clamp, vflipped)
- iChannel3: Buffer D (linear, clamp, vflipped)
- [SH17C] Raymarching tutorial on Shadertoy
- An overview of all my shaders
- My public profile on Shadertoy
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.