Announcement

Collapse
No announcement yet.

Create waterfalls, paint the water flow direction, in Landscape. Failed.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Create waterfalls, paint the water flow direction, in Landscape. Failed.

    This:
    Click image for larger version

Name:	WaterfallFail.jpg
Views:	1
Size:	79.3 KB
ID:	3254077
    unfortunately does not work, and ends up breaking a bunch of stuff. But when I thought of doing it, I thought it was a great idea. Do not try this at home.

    What you see there is a translucent animated water material, placed into a landscape material, that switches to an animated 3D projection waterfall texture when the normal hits a certain threshold. And the water material has different terrain layers that are just different panners attached to the same texture, so you can paint the direction you want the water flow. I switched back and forth between the water landscape and a land landscape to get the two to fit together. And you might think from this first little experiment that we're off to a good start. Well, we're not. This breaks so much stuff that I've had to reinstall twice, and I'm not going to try it again.

    First off, you can't paint a translucent material onto a landscape. You can paint an opaque material, and then make it translucent later, but if you try to paint a translucent material on to begin with, you'll crash the editor. And if you have a sobel edge detection post process, then things really get messed up. UDK now does something strange with my DefaultSystemSettings.ini's bAllowSeparateTranslucency, and I get an ugly black outline around fireflies, candle flames, and other glowing particles. If I turn off bAllowSeparateTranslucency, then I get an ugly black line through them when they cross over the place where a line would be behind them. And having a sobel edge detection on also screws with the landscape brush, which becomes a thick black smudge. And for some reason, if I PIE while landscape tool is up, then it looks OK, but if I turn off the landscape tool, then I think the landscape's LOD gets all screwed up:

    Click image for larger version

Name:	WaterfallDoubleFail.jpg
Views:	1
Size:	67.1 KB
ID:	3254078

    So anyway, I'll say this was an interesting experiment, but I don't think I'm going to be able to use it.

    #2
    Well, thanks to some advice from Chosker and Frankit, I think I have it working. It's still kind of buggy, but it works.

    [shot]http://himekosutori.com/wp-content/uploads/2015/05/HS_WaterfallCity2.jpg[/shot]

    And I can still use my other transparent materials with enable separate transparency:

    [shot]http://himekosutori.com/wp-content/uploads/2015/05/HS_FireflyTest.jpg[/shot]

    More info: http://himekosutori.com/?p=255

    Comment


      #3
      glad to see you got it to work

      Comment

      Working...
      X