Author Topic: Dried mud Shader  (Read 9844 times)

Offline glen5700

  • Member
  • *
  • Posts: 136
    • 3D Digital Graphics
Dried mud Shader
« on: January 02, 2007, 01:02:25 AM »
Now there's a subject that will get everyones attention. :)       

This is started from the "Building a Terrain from functions" tutorial.

Please don't mind the simple scenes, I wanted to give an example of what it looks like. I have also included a link for the scene download which includes a .ter file for the mountains in the background, you may have to relink the file. All the basic controls are to the right of the Terrain group, I think there self explanatory. I added a Perlin noise function so the Voronoi isn't so perfect, use the Voronoi Perlin mix settings to affect how much Perlin is added and the Perlin Scale for it's size.

Hope this proves useful,
Glen

http://www.3ddigitalgraphics.com/terragen/voronoi.zip  - With mountains 1.9mb

http://www.3ddigitalgraphics.com/terragen/voronoi_no_mountains.zip  - No mountains 5kb



Offline MooseDog

  • Member
  • *
  • Posts: 100
    • MDStudios
Re: Dried mud Shader
« Reply #1 on: January 02, 2007, 01:52:12 AM »
this forum needs a thumbs-up emoticon.  thx for sharing :)  very nice work!

Sethren

  • Guest
Re: Dried mud Shader
« Reply #2 on: January 02, 2007, 03:49:01 AM »
Dry lake beds. To nice!    :o

Offline swiftstream

  • Member
  • *
  • Posts: 44
Re: Dried mud Shader
« Reply #3 on: January 02, 2007, 04:09:31 AM »
I've been playing with this just a little myself, working on getting a more realistic effect. One of the bigger problems is that in real life, in contrast to the Voronai effect, this happens on more than one scale. I've experimented with overlaying two Voronai shaders on different scales together (one about half the scale of the other) but I'm not terribly happy with the results yet.

Anyway, thanks for sharing.

Offline glen5700

  • Member
  • *
  • Posts: 136
    • 3D Digital Graphics
Re: Dried mud Shader
« Reply #4 on: January 02, 2007, 04:50:01 AM »
Thanks for the comments!

It's by no means perfect, but it's a start. What it really needs is to have a fractal function applied to the Voronai with octaves setting. Then you could get the detail you are talking about, the render times could get quite high depending on how many octaves were applied.

I don't know if it's possible to make a fractal function out of the existing functions, could be worth a try. I wonder if they will be adding more functions before the final release?

Glen

Offline littlecannon

  • Member
  • *
  • Posts: 501
Re: Dried mud Shader
« Reply #5 on: January 02, 2007, 08:50:37 AM »
Lookin good... I see the potential here.. Keep it up. :o
I just need to tweak that texture a bit more...

Offline swiftstream

  • Member
  • *
  • Posts: 44
Re: Dried mud Shader
« Reply #6 on: January 02, 2007, 09:47:05 AM »
What it really needs is to have a fractal function applied to the Voronoi with octaves setting. Then you could get the detail you are talking about, the render times could get quite high depending on how many octaves were applied.

You're right, of course. I've been trying to fake it, but it's not very convincing.

I'm still trying to think of ways to fake it and/or do it in a somewhat more roundabout way, but I haven't come up with any yet...

I think 2 or 3 octaves would probably give a convincing effect, so it may be reasonable to do it manually... I just have to figure out how.

Offline glen5700

  • Member
  • *
  • Posts: 136
    • 3D Digital Graphics
Re: Dried mud Shader
« Reply #7 on: January 02, 2007, 03:09:46 PM »
Swiftstream,

I will probably give it a go and see what I can come up with. If you come up with anything please post it.

Thanks,
Glen

Offline glen5700

  • Member
  • *
  • Posts: 136
    • 3D Digital Graphics
Re: Dried mud Shader
« Reply #8 on: January 02, 2007, 06:10:28 PM »
Here are a couple of test I did over my lunch hour, it's a bit of an improvement.
Glen


Offline crazymonkey

  • Member
  • *
  • Posts: 49
Re: Dried mud Shader
« Reply #9 on: January 02, 2007, 10:27:25 PM »
awesome man, thanks for sharing :)

Offline glen5700

  • Member
  • *
  • Posts: 136
    • 3D Digital Graphics
Re: Dried mud Shader
« Reply #10 on: January 03, 2007, 12:50:31 AM »
Here is the latest, not to much different from my previous post but the scene file is available for download.

Thanks for all the comments,
Glen

Offline Oshyan

  • Planetside Staff
  • *
  • Posts: 12654
  • Holy snagging ducks!
Re: Dried mud Shader
« Reply #11 on: January 04, 2007, 06:42:07 AM »
Excellent work guys. We will indeed be including more shaders and greater control in future versions. This will hopefully allow you to do this effect more realistically with less trouble. In the meantime you guys are doing great in pushing things further. :)

- Oshyan

Sethren

  • Guest
Re: Dried mud Shader
« Reply #12 on: January 04, 2007, 06:48:02 AM »
A crack noise shader with turbulence functions would be nice.    ;D