Skip to content

Latest commit

 

History

History

folding

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Folding

View shader on Shadertoy - Published on 2014-11-18

thumbnail

I was hoping that 'folding' the input domain of the distance function would lead to some elegant math. Unfortunately, the math isn't that elegant at all, and also it isn't stable for large folding-angles (hence the 'clipping hack' at lines 90 to 99).

Shaders

Image

Source: Image.glsl

Links

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.