I have difficulty understanding how to blend two distance functions. Can anyone give a simple example?
@Harboric: there's a nice little webpage (with useful explanatory links) about this idea here: http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
as well as a very cool interactive demo here:
https://www.shadertoy.com/view/Xds3zN
I have difficulty understanding how to blend two distance functions. Can anyone give a simple example?
@Harboric: there's a nice little webpage (with useful explanatory links) about this idea here: http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
as well as a very cool interactive demo here:
https://www.shadertoy.com/view/Xds3zN