This is fascinating. Can someone help me understand why SDF-only techniques are valuable (aside from being interesting in their own right)? I know very little gfx but so far I mostly saw SDFs used for accomplishing stuff in fragment shader that would otherwise be done with geometry, kind of as a workaround for limitation of shadertoy environment
SDF Fractal Noise
21–30 of 44 posts
Re: SDF Fractal Noise
#22IQ is the shader God, he should write a book sometimes!
Re: SDF Fractal Noise
#23Re: SDF Fractal Noise
#24It's an interesting and very clever technique. But those landscapes don't look real in any sense. They look like painted clouds. Uncanny valley? Maybe not even that close to reality.
Re: SDF Fractal Noise
#25Cool, but this looks like it’s really the same as the old side scrolling mountain landscape screensaver (which I can’t seem to find anymore). Is it just a new technique to achieve the same?
Re: SDF Fractal Noise
#26Earlier quoted context omitted.
If you want to generate textures which you then read at runtime, this kind of technique is very useful - for instance, imagine you want to create the normal map of a cloud, or create a height map to displace vertices with (for a procedural landscape).
But using noise to generate textures isn't directly related to SDF (I think?) from other replies I think the point here is there are no "vertices", i.e. no mesh geometry
I don't use this a work - it's just an approach that I've had some success with at home. On my machine, complex fragment shaders are always slow - so maybe this kind of sdf-based approach works in realtime for other people.
Re: SDF Fractal Noise
#27> As Signed Distance Functions start making it into mainstream and commercial applications, it's important to find replacements or alternatives to common things artists used to do in polygon-land. So are SDFs really going to replace polygons then? Is this for just the demoscene, or for some specific applications, or do experts think this is the future for all 3D graphics? I know enough about SDFs to know that they ar…
It won't replace polygons. But it has been a very useful tool in the gfx programmer toolbox. It can be used for font/vector rendering, modelling / rendering complex shapes that are difficult to do using traditional modelling methods, and it has a lot of niche usages (I remember one talk about using some SDF to procedurally generates fakes).
I'd like to see a simple unencumbered SDF font file format become widespread.
Re: SDF Fractal Noise
#28SDFs are another tool. Very useful for content creation, for example, although there are still very few tools to create SDFs. You can't create SDFs in Blender for example. SDFs will be more used in the future, polygons are a mess... :) Games like Dreams (PS4 / PS5) make extensive use of SDFs
They are cool though!
Re: SDF Fractal Noise
#29Can someone elaborate or point to an elaboration of this point? I guess there must be a good reason why the gradient cannot just be normalised, but I don't know what it is.
Re: SDF Fractal Noise
#30Cool, but this looks like it’s really the same as the old side scrolling mountain landscape screensaver (which I can’t seem to find anymore). Is it just a new technique to achieve the same?
There are other ways to do it like fractals and heightmaps but this does it all with SDFs