YOUR ACCOUNT

Login or Register to post new topics or replies
TBH-1138
Posts: 95
Filters: 53
SDF Texture Generator by AtomicJoe
http://filterforge.com/filters/15060.html

  Details E-Mail
TBH-1138
Posts: 95
Filters: 53
Wonder if I could use this to make heightmaps....
  Details E-Mail
AtomicJoe
Posts: 5
Filters: 6
You "can", but it will not make a good heightmap because, as you can see, it scales a pixel to a square instead of a circle (which isn't very natural) and the greyscale doesn't have a lot of precision sadly (since each grey step is made manually because of how filterforge works).
You can try to blur the generated SDF texture using Gaussian Blur. That would fix both issues but not completely.

That filter was specifically made to generate SDF Textures easily from any image, since it's very useful for realtime engines and doesn't seem to be a lot of options to generate this kind of textures and keep them seamlessly tileable.
For the best results, use a high definition image as input and import the generated SDF texture as a quarter of it's size in the 3D Engine (downsampling it in a regular graphic application could break the seamless texture)

You can read more about SDF Textures here:
Original Valve Paper

And a specific implementation for Unity here:
SDF Texture Generator for Unity

SDF Shaders for Unity

This implementation is much better than this filterforge filter, but doesn't generate seamless textures.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,714 Registered Users
+20 new in 30 days!

153,537 Posts
+6 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

29 unregistered users.